-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
62 lines (62 loc) · 1.48 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
{
"name": "rcast",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"format": "prettier --write '{src,scripts}/**/*.{js,css,json,html}'",
"lint": "eslint src/ scripts/",
"dev": "rollup --config ./scripts/rollup.config.js --watch",
"build": "rollup --config ./scripts/rollup.config.js --environment NODE_ENV:production",
"start": "serve --single --config ../scripts/serve.config.json dist/"
},
"dependencies": {
"serve": "^11.3.0"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^0.11.0",
"@lwc/rollup-plugin": "^1.17.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-replace": "^2.3.4",
"babel-eslint": "^10.0.3",
"eslint": "^7.18.0",
"fs-extra": "^9.1.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.3",
"lwc": "^1.17.0",
"navigo": "^8.7.1",
"prettier": "^2.2.1",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"rollup": "^2.38.0",
"rollup-plugin-terser": "^7.0.2",
"workbox-build": "^6.0.2"
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "all",
"singleQuote": true,
"overrides": [
{
"files": "**/*.html",
"options": {
"parser": "lwc"
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,scripts}/**/*.js": [
"eslint --fix"
],
"{src,scripts}/**/*.{js,json,css,html}": [
"prettier --write"
]
}
}