-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
136 lines (136 loc) · 4.45 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@phun-ky/speccer",
"version": "11.2.2",
"description": "A script to annotate, show spacing specs and to display typography information in documentation/website on HTML elements",
"main": "dist/speccer.js",
"module": "dist/speccer.esm.js",
"types": "dist/speccer.d.ts",
"funding": "https://github.com/phun-ky/speccer?sponsor=1",
"type": "module",
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.[jt]s\"",
"pretest-ci": "rm -rf coverage && mkdir -p coverage",
"test-ci": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"./src/**/__tests__/**/*.[jt]s\"",
"rollup": "rollup -c",
"prerollup:dev": "npm run clean && npm run styles",
"rollup:dev": "rollup -c -w",
"clean": "rm -rf dist dts",
"build": "npm run clean && npm run rollup && npm run styles",
"styles": "npm run stylus && npm run postcss",
"stylus": "rm -rf ./dist/speccer.css && stylus ./src/styles/index.styl -o ./dist/speccer.css",
"postcss": "rm -rf ./dist/speccer.min.css && postcss ./dist/speccer.css -o ./dist/speccer.min.css",
"dev": "npx browser-sync start --server 'dev' --files 'dist' --ss 'dist'",
"docs:gen": "node ./node_modules/.bin/typedoc",
"style:lint": "./node_modules/.bin/eslint -c ./.eslintrc --max-warnings=0 src --ignore-path .gitignore ",
"style:format": "prettier-eslint --config .prettierrc --eslint-config-path $PWD/.eslintrc --list-different --write \"./src/**/*.ts\"",
"style:code": "npx putout src",
"commit": "npx git-cz",
"release": "release-it"
},
"files": [
"/dist/speccer.esm.js",
"/dist/speccer.esm.js.map",
"/dist/speccer.js",
"/dist/speccer.js.map",
"/dist/speccer.min.css",
"/dist/speccer.css",
"/dist/speccer.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/phun-ky/speccer.git"
},
"keywords": [
"html",
"css",
"design",
"design system",
"javascript",
"spec",
"inspect",
"annotation",
"annotate",
"pin",
"specifications",
"anatomy",
"dissection",
"dissect",
"documentation",
"information",
"specification",
"specs",
"html-elements",
"inspect",
"spacing",
"speccer",
"a11y",
"accessibility",
"grid",
"grid-layout"
],
"author": "Alexander Vassbotn Røyne-Helgesen <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/phun-ky/speccer/issues"
},
"homepage": "https://phun-ky.net/projects/speccer",
"devDependencies": {
"@release-it/conventional-changelog": "^8.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.0.1",
"cobertura": "^1.0.1",
"cssnano": "^6.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"git-cz": "^4.9.0",
"glob": "^10.3.10",
"global-jsdom": "^24.0.0",
"jsdom": "^24.0.0",
"postcss": "^8.3.0",
"postcss-cli": "^8.3.1",
"prettier": "^3.2.5",
"prettier-eslint": "^16.3.0",
"prettier-eslint-cli": "^8.0.1",
"putout": "^35.1.0",
"quibble": "^0.9.1",
"release-it": "^17.1.1",
"remark-github": "^12.0.0",
"remark-toc": "^9.0.0",
"rollup": "^4.12.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-typescript2": "^0.36.0",
"stylus": "^0.64.0",
"ts-node": "^10.9.1",
"tslib": "^2.3.1",
"tsx": "^4.7.1",
"typedoc": "^0.26.5",
"typedoc-plugin-frontmatter": "^1.0.0",
"typedoc-plugin-markdown": "^4.2.3",
"typedoc-plugin-mdn-links": "^3.2.8",
"typedoc-plugin-no-inherit": "^1.4.0",
"typedoc-plugin-remark": "^1.0.2",
"typedoc-plugin-rename-defaults": "^0.7.1",
"typescript": "^5.0.0",
"unified-prettier": "^2.0.1"
},
"config": {
"commitizen": {
"path": "./node_modules/git-cz"
}
},
"engines": {
"node": ">=22.8.0",
"npm": ">=10.8.2"
}
}