-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.3 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
{
"name": "postcss-classname-obfuscator",
"version": "1.3.0",
"description": "This PostCSS plugin replaces CSS class names with hard-to-guess characters.",
"keywords": [
"postcss",
"css",
"postcss-plugin",
"postcss-classname-obfuscator"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"remove": "rimraf dist",
"build": "npm run remove && tsc && npm run minify",
"minify": "terser dist/index.js --mangle -o dist/index.js",
"dev": "swc src -d dist",
"unit": "npm run build && node --test index.test.js",
"test": "npm run unit && eslint ./dist",
"format": "prettier --write 'src/**/*.ts'"
},
"author": "minagishl",
"license": "MIT",
"repository": "minagishl/postcss-classname-obfuscator",
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"postcss": "^8.4.27"
},
"devDependencies": {
"@swc/cli": "^0.3.9",
"@swc/core": "^1.4.2",
"@types/node": "^20.11.19",
"eslint": "^8.56.0",
"postcss": "^8.4.35",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"terser": "^5.27.2",
"typescript": "^5.3.3"
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"node": true,
"es6": true
},
"extends": [
"eslint:recommended"
]
}
}