-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
61 lines (61 loc) · 1.36 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
{
"private": true,
"browserslist": [
"Edge 16"
],
"postcss": {
"plugins": {
"postcss-normalize": {},
"postcss-preset-env": {},
"autoprefixer": {}
}
},
"babel": {
"presets": [
[
"@babel/preset-env"
]
]
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 6
},
"plugins": [
"compat"
],
"rules": {
"compat/compat": "warn"
}
},
"stylelint": {
"plugins": [
"stylelint-no-unsupported-browser-features"
],
"rules": {
"plugin/no-unsupported-browser-features": true
},
"defaultSeverity": "warning"
},
"scripts": {
"build:css": "postcss src/app.css -o dist/app.css",
"build:js": "babel src/app.js -o dist/app.js",
"lint:css": "stylelint src/*.css",
"lint:js": "eslint src/*.js",
"test": "npm run lint:css && npm run lint:js",
"build": "npm run test && npm run build:css && npm run build:js"
},
"dependencies": {
"@babel/cli": "^7.0.0-beta.46",
"@babel/core": "^7.0.0-beta.46",
"@babel/preset-env": "^7.0.0-beta.46",
"autoprefixer": "^8.4.1",
"eslint": "^4.19.1",
"eslint-plugin-compat": "^2.2.0",
"postcss-cli": "^5.0.0",
"postcss-normalize": "^4.0.0",
"postcss-preset-env": "^4.1.0",
"stylelint": "^15.10.1",
"stylelint-no-unsupported-browser-features": "^3.0.0"
}
}