-
Notifications
You must be signed in to change notification settings - Fork 188
/
package.json
83 lines (83 loc) · 2.33 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
{
"name": "csso",
"version": "3.5.1",
"description": "CSS minifier with structural optimisations",
"keywords": [
"css",
"compress",
"minifier",
"minify",
"optimise",
"optimisation",
"csstree"
],
"homepage": "https://github.com/css/csso",
"author": "Sergey Kryzhanovsky <[email protected]> (https://github.com/afelix)",
"maintainers": [
{
"name": "Roman Dvornov",
"email": "[email protected]",
"github-username": "lahmatiy"
}
],
"license": "MIT",
"repository": "css/csso",
"bugs": {
"url": "https://github.com/css/csso/issues"
},
"main": "./lib/index",
"eslintConfig": {
"env": {
"node": true,
"mocha": true,
"es6": true
},
"rules": {
"no-duplicate-case": 2,
"no-undef": 2,
"no-unused-vars": [
2,
{
"vars": "all",
"args": "after-used"
}
]
}
},
"scripts": {
"test": "mocha --reporter dot",
"lint": "eslint lib test",
"lint-and-test": "npm run lint && npm test",
"build": "rollup --config && terser dist/csso.js --compress --mangle -o dist/csso.min.js",
"coverage": "nyc npm test",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"travis": "nyc npm run lint-and-test && npm run coveralls",
"hydrogen": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/csso --stat -o /dev/null",
"gh-pages": "git clone --depth=1 -b gh-pages https://github.com/css/csso.git .gh-pages && npm run browserify && cp dist/csso-browser.js .gh-pages/ && cd .gh-pages && git commit -am \"update\" && git push && cd .. && rm -rf .gh-pages",
"prepublish": "npm run browserify",
"postpublish": "npm run gh-pages"
},
"dependencies": {
"css-tree": "1.0.0-alpha.36"
},
"devDependencies": {
"coveralls": "^3.0.7",
"eslint": "^6.5.1",
"mocha": "^3.5.3",
"nyc": "^14.1.0",
"rollup": "^1.23.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"source-map": "^0.5.6",
"terser": "^4.3.8"
},
"engines": {
"node": ">=8.0.0"
},
"files": [
"dist/csso.js",
"dist/csso.min.js",
"lib"
]
}