-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 1.74 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
{
"private": true,
"name": "vanilla-parcel-starter",
"description": "a parcel starter with just enough sugar to make you smile",
"license": "UNLICENSED",
"author": "Buster Collings <[email protected]> (https://about.me/buster)",
"version": "0.0.4",
"scripts": {
"prebuild": "npm run clean && npm run clean-cache && npm run lint",
"build": "NODE_ENV=production node parcel-build",
"clean": "rm -rf dist",
"clean-cache": "rm -rf .cache",
"precommit": "eslint src && lint-staged",
"dev": "npm run start",
"lint": "eslint src",
"prestart": "npm run clean && npm run lint",
"start": "trap 'npm run clean-cache && exit 0' SIGINT ; node parcel-dev"
},
"devDependencies": {
"autoprefixer": "^9.6.1",
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"eslint": "^6.0.1",
"eslint-config-prettier": "^6.0.0",
"eslint-config-xo": "^0.26.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-json": "^1.4.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.0",
"lint-staged": "^9.1.0",
"node-sass": "^4.12.0",
"parcel-bundler": "^1.12.3",
"postcss-import-url": "^4.0.0",
"prettier": "^1.18.2",
"prettier-package-json": "^2.1.0"
},
"eslintConfig": {
"extends": [
"xo",
"prettier"
],
"env": {
"browser": true
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true
}
]
},
"plugins": [
"prettier",
"json"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.json": [
"prettier --write",
"git add"
],
"package.json": [
"prettier-package-json --write",
"git add"
]
}
}