forked from TEAMMATES/teammates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.5 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
{
"devDependencies": {
"babel-core": "6.26.0",
"babel-loader": "7.1.2",
"babel-preset-env": "1.6.1",
"eslint": "4.11.0",
"eslint-config-airbnb-base": "12.1.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-json": "1.2.0",
"lintspaces-cli": "0.6.0",
"stylelint": "8.2.0",
"stylelint-config-standard": "17.0.0",
"webpack": "3.8.1"
},
"babel": {
"presets": [
[
"env",
{
"targets": {
"browsers": [
"ie >= 9"
]
}
}
]
]
},
"scripts": {
"build:src": "webpack --config webpack-main.config.js",
"build:test": "webpack --config webpack-test.config.js",
"build": "npm run build:src && npm run build:test",
"lint:js": "eslint *.js src/main/webapp/dev -c static-analysis/teammates-eslint.yml",
"lint:json": "eslint src/main/webapp/data/*.json src/main/resources/*.json src/test/resources/data/*.json -c static-analysis/teammates-eslint-json.yml",
"lint:css": "stylelint src/main/webapp/stylesheets/*.css --config static-analysis/teammates-stylelint.yml",
"lint:spaces": "lintspaces -n -t -d spaces -l 1 -. \"src/**/*.jsp\" \"src/**/*.tag\" \"src/main/**/*.html\" \"src/**/*.xml\" \"src/**/*.json\" \"src/**/*.css\" \"src/**/*.java\" \"src/main/webapp/dev/**/*.js\" \"src/**/*.properties\" \"*.js\" \"*.yml\" \"*.gradle\" \"static-analysis/*.*ml\"",
"lint": "npm run lint:js && npm run lint:json && npm run lint:css && npm run lint:spaces"
},
"private": true
}