-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
141 lines (141 loc) · 4.64 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
137
138
139
140
141
{
"name": "@phun-ky/speccer",
"version": "11.2.13",
"description": "A script to annotate, show spacing specs and to display typography information in documentation/website on HTML elements",
"keywords": [
"a11y",
"accessibility",
"anatomy",
"annotate",
"annotation",
"css",
"design",
"design system",
"dissect",
"dissection",
"documentation",
"grid",
"grid-layout",
"html",
"html-elements",
"information",
"inspect",
"javascript",
"pin",
"spacing",
"spec",
"speccer",
"specification",
"specifications",
"specs",
"typescript",
"typography"
],
"homepage": "https://phun-ky.net/projects/speccer",
"bugs": {
"url": "https://github.com/phun-ky/speccer/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/phun-ky/speccer.git"
},
"funding": "https://github.com/phun-ky/speccer?sponsor=1",
"license": "MIT",
"author": "Alexander Vassbotn Røyne-Helgesen <alexander@phun-ky.net>",
"type": "module",
"main": "dist/speccer.js",
"module": "dist/speccer.esm.js",
"types": "dist/speccer.d.ts",
"files": [
"/dist/speccer.css",
"/dist/speccer.d.ts",
"/dist/speccer.esm.js",
"/dist/speccer.js",
"/dist/speccer.min.css"
],
"scripts": {
"build": "npm run clean && npm run rollup && npm run styles",
"clean": "rm -rf dist dts",
"commit": "npx git-cz",
"dev": "npx browser-sync start --server 'dev' --files 'dist' --ss 'dist'",
"docs:gen": "node ./node_modules/.bin/typedoc",
"postcss": "rm -rf ./dist/speccer.min.css && postcss ./dist/speccer.css -o ./dist/speccer.min.css",
"release": "release-it",
"prerollup:dev": "npm run clean && npm run styles",
"rollup": "rollup -c",
"rollup:dev": "rollup -c -w",
"style:code": "npx putout src",
"style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix && ./node_modules/.bin/prettier --write ./eslint.config.mjs src",
"style:lint": "./node_modules/.bin/eslint -c ./eslint.config.mjs src && ./node_modules/.bin/prettier --check src",
"styles": "npm run stylus && npm run postcss",
"stylus": "rm -rf ./dist/speccer.css && stylus ./src/styles/index.styl -o ./dist/speccer.css",
"pretest:ci": "rm -rf coverage && mkdir -p coverage",
"pretest:e2e": "rm -rf test-results && npm run build",
"test": "npm run test:unit",
"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__/**/*.spec.[jt]s\"",
"test:e2e": "npx playwright test",
"test:unit": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.spec.[jt]s\""
},
"config": {
"commitizen": {
"path": "./node_modules/git-cz"
}
},
"devDependencies": {
"@eslint/js": "^9.20.0",
"@eslint/markdown": "^6.2.2",
"@playwright/test": "^1.50.1",
"@release-it/conventional-changelog": "^10.0.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@stylistic/eslint-plugin": "^4.2.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.2",
"@types/node": "^22.13.1",
"cobertura": "^1.0.1",
"cssnano": "^7.0.6",
"eslint": "^9.20.0",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-compat": "^6.0.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3",
"git-cz": "^4.9.0",
"glob": "^11.0.1",
"global-jsdom": "^26.0.0",
"globals": "^16.0.0",
"jsdom": "^26.0.0",
"postcss": "^8.5.2",
"postcss-cli": "^11.0.0",
"prettier": "3.5.3",
"putout": "^38.2.0",
"quibble": "^0.9.1",
"release-it": "^18.1.2",
"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.19.2",
"typedoc": "^0.27.6",
"typedoc-plugin-frontmatter": "^1.0.0",
"typedoc-plugin-markdown": "^4.2.3",
"typedoc-plugin-mdn-links": "^5.0.1",
"typedoc-plugin-no-inherit": "^1.4.0",
"typedoc-plugin-remark": "^1.0.2",
"typedoc-plugin-rename-defaults": "^0.7.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0",
"unified-prettier": "^2.0.1"
},
"engines": {
"node": ">=22.9.0",
"npm": ">=11.0.0"
},
"publishConfig": {
"access": "public"
}
}