forked from uncss/uncss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 2.4 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
{
"name": "uncss",
"version": "0.17.3",
"author": "Giakki",
"description": "Remove unused CSS styles",
"license": "MIT",
"homepage": "https://github.com/uncss/uncss",
"scripts": {
"cover": "nyc npm run mocha",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"eslint": "eslint \"**/*.js\" bin/uncss",
"mocha": "mocha tests/*.js --reporter spec --slow 7500 --timeout 25000",
"lint": "npm run eslint",
"test": "npm run eslint && npm run mocha",
"travis": "npm run eslint && npm run cover"
},
"main": "src/uncss.js",
"bin": {
"uncss": "bin/uncss"
},
"repository": {
"type": "git",
"url": "git+https://github.com/uncss/uncss.git"
},
"bugs": {
"url": "https://github.com/uncss/uncss/issues"
},
"keywords": [
"optimize",
"optimise",
"unused",
"rules",
"selector",
"CSS",
"HTML"
],
"files": [
"bin",
"src"
],
"dependencies": {
"@root/request": "^1.6.1",
"commander": "^4.1.1",
"glob": "^7.1.6",
"is-absolute-url": "^3.0.3",
"is-html": "^2.0.0",
"jsdom": "^15.1.1",
"lodash": "^4.17.20",
"postcss": "^8.1.1",
"postcss-selector-parser": "^6.0.4",
"request": "^2.88.0"
},
"devDependencies": {
"chai": "^4.2.0",
"chai-resemble": "^2.0.0",
"coveralls": "^3.1.0",
"eslint": "^7.10.0",
"eslint-config-problems": "^5.0.0",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"mocha": "^8.1.3",
"nyc": "^15.1.0",
"prettier": "^2.1.2"
},
"engines": {
"node": ">=10.0"
},
"nyc": {
"include": [
"src/**/*.js"
]
},
"prettier": {
"endOfLine": "lf",
"printWidth": 120,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5",
"overrides": [
{
"files": "*.yml",
"options": {
"singleQuote": false
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write"
],
"*.js": [
"eslint --fix"
]
}
}