-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
66 lines (66 loc) · 2.05 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
{
"name": "jetpack-boost-critical-css-gen",
"main": "./lib/index.js",
"description": "Critical CSS Generator capable of running in-browser (iframes) or on server-side (NodeJS + playwright). Built for use with Jetpack Boost.",
"version": "0.0.11",
"license": "GPL-2.0-or-later",
"type": "module",
"scripts": {
"gen": "node --experimental-specifier-resolution=node bin/generate.js",
"build": "tsc --declaration && rollup -c",
"prepare": "npm run build",
"lint": "prettier --check src/**/* && eslint . && echo '✔ eslint and prettier ran successfully.'",
"lint:fix": "prettier --write src/**/*.ts && eslint --fix . && echo '✔ eslint and prettier ran successfully.'",
"test": "NODE_ENV=test jest --forceExit --config=tests/config/jest.config.js",
"dev": "nodemon"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test"
}
},
"devDependencies": {
"@babel/preset-env": "^7.18.10",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.4.0",
"@types/clean-css": "^4.2.5",
"@types/css-tree": "^2.0.1",
"@types/node": "^18.7.12",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@wordpress/eslint-plugin": "^13.0.0",
"eslint": "^8.22.0",
"express": "^4.18.1",
"https-browserify": "^1.0.0",
"jest": "^28.1.3",
"jest-environment-puppeteer": "^6.1.1",
"node-fetch": "^3.2.10",
"nodemon": "^3.1.2",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"playwright-core": "^1.33.0",
"prettier": "npm:[email protected]",
"puppeteer": "^16.2.0",
"rollup": "^2.78.1",
"rollup-plugin-polyfill-node": "^0.10.2",
"rollup-plugin-terser": "^7.0.2",
"source-map": "^0.7.4",
"stream-http": "^3.2.0",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-dev-middleware": "^5.3.3"
},
"exports": {
".": "./lib/index.js",
"./src": "./src/index.ts"
},
"dependencies": {
"clean-css": "^5.3.1",
"css-tree": "^2.3.1"
},
"overrides": {
"eslint-plugin-jsdoc": "^46.8.2"
}
}