forked from Automattic/jetpack-boost-critical-css-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.54 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
{
"name": "jetpack-boost-critical-css-gen",
"main": "./dist/bundle.js",
"description": "Critical CSS Generator capable of running in-browser (iframes) or on server-side (NodeJS + Puppeteer). Built for use with Jetpack Boost.",
"version": "0.0.1",
"license": "GPL-2.0-or-later",
"scripts": {
"prepare": "npm run bundle",
"bundle": "rollup -c",
"watch": "rollup -c -w",
"lint": "eslint . && echo '✔ eslint ran successfully.'",
"lint:fix": "eslint --fix . && echo '✔ eslint ran successfully.'",
"test": "NODE_ENV=test jest --forceExit --detectOpenHandles"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test"
}
},
"dependencies": {
"clean-css": "^5.1.2",
"css-tree": "^1.1.3",
"node-fetch": "^2.6.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@wordpress/eslint-plugin": "^9.0.5",
"eslint": "^7.27.0",
"eslint-plugin-jest": "^24.3.6",
"express": "^4.17.1",
"https-browserify": "^1.0.0",
"husky": "^6.0.0",
"jest": "^27.0.1",
"jest-environment-puppeteer": "^5.0.4",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"prettier": "npm:wp-prettier@^2.0.5",
"process": "^0.11.10",
"puppeteer": "^9.1.1",
"rollup": "^2.50.1",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "^7.0.2",
"stream-http": "^3.2.0",
"webpack": "^5.37.1",
"webpack-cli": "^4.7.0",
"webpack-dev-middleware": "^4.3.0"
},
"exports": "./index.js"
}