-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
87 lines (87 loc) · 2.84 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
{
"author": "Titus Wormer <[email protected]> (https://wooorm.com)",
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"bugs": "https://github.com/wooorm/short-words/issues",
"contributors": [
"Titus Wormer <[email protected]> (https://wooorm.com)"
],
"devDependencies": {
"@types/nlcst": "^2.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"cssnano": "^7.0.0",
"esbuild": "^0.24.0",
"nlcst-to-string": "^4.0.0",
"parse-english": "^7.0.0",
"postcss-cli": "^11.0.0",
"postcss-preset-env": "^10.0.0",
"prettier": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rehype-cli": "^12.0.0",
"rehype-preset-minify": "^7.0.0",
"rehype-prevent-favicon-request": "^4.0.0",
"remark-cli": "^12.0.0",
"remark-preset-wooorm": "^10.0.0",
"stylelint": "^16.0.0",
"stylelint-config-standard": "^36.0.0",
"syllable": "^5.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"xo": "^0.59.0"
},
"license": "MIT",
"name": "www-short-words",
"postcss": {
"plugins": {
"postcss-preset-env": {},
"cssnano": {
"preset": "default"
}
}
},
"prettier": {
"bracketSpacing": false,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"private": true,
"remarkConfig": {
"plugins": [
"remark-preset-wooorm"
]
},
"repository": "wooorm/short-words",
"typeCoverage": {
"atLeast": 100,
"strict": true
},
"type": "module",
"scripts": {
"build": "tsc --build --clean && tsc --build && type-coverage",
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo && stylelint src/index.css --fix",
"generate:css": "postcss --output dest/index.css -- src/index.css",
"generate:html": "rehype --frail --output dest/ --quiet --use rehype-preset-minify --use rehype-prevent-favicon-request -- src/",
"generate:js:module": "esbuild src/index.jsx --bundle --conditions=browser,production --define:process.env.NODE_ENV=\\\"production\\\" --format=esm --loader:.js=jsx --log-level=warning --minify --outfile=dest/index.module.js --target=es2020",
"generate:js:nomodule": "esbuild src/index.jsx --bundle --conditions=browser,production --define:process.env.NODE_ENV=\\\"production\\\" --loader:.js=jsx --log-level=warning --minify --outfile=dest/index.nomodule.js --target=es6",
"generate:js": "npm run generate:js:module && npm run generate:js:nomodule",
"generate": "npm run generate:css && npm run generate:html && npm run generate:js",
"test": "npm run build && npm run format && npm run generate"
},
"stylelint": {
"extends": "stylelint-config-standard"
},
"xo": {
"prettier": true,
"rules": {
"unicorn/prefer-at": "off"
}
}
}