-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.63 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "vespa-application",
"version": "0.0.1",
"description": "Some description",
"author": "Valentin Shevko",
"license": "MIT",
"private": true,
"os": [
"darwin",
"linux"
],
"config": {
"src": "src",
"dest": "dist",
"conf": "configs"
},
"scripts": {
"start": "npm run build && (npm run sync & npm run watch)",
"test": "npm run build && npm run test:scripts",
"build": "npm run clean && (npm run build:scripts & npm run build:styles & npm run build:html & wait)",
"lint": "npm run lint:scripts && npm run lint:styles",
"watch": "npm run watch:scripts & npm run watch:styles",
"clean": "rm -rf ${npm_package_config_dest} && mkdir ${npm_package_config_dest}",
"sync": "browser-sync start --config ${npm_package_config_conf}/browser-sync.js",
"build:html": "cp ${npm_package_config_src}/index.html ${npm_package_config_dest}/index.html",
"build:scripts": "webpack --config ${npm_package_config_conf}/webpack.babel.js",
"build:styles": "postcss --config ${npm_package_config_conf}/postcss.js",
"watch:scripts": "npm run build:scripts -- --watch",
"watch:styles": "npm run build:styles -- --watch",
"lint:scripts": "eslint ${npm_package_config_src}/js/**/*.js",
"lint:styles": "stylelint \"${npm_package_config_src}/styles/**/*.css\"",
"test:scripts": "ava"
},
"devDependencies": {
"ava": "0.17.x",
"babel-core": "6.18.x",
"babel-loader": "6.2.x",
"babel-preset-latest": "6.16.x",
"browser-sync": "2.18.x",
"eslint": "3.11.x",
"postcss-cli": "2.6.x",
"postcss-cssnext": "2.9.x",
"postcss-import": "9.0.x",
"sinon": "1.17.x",
"stylelint": "7.6.x",
"stylelint-config-standard": "15.0.x",
"webpack": "2.1.0-beta.27"
},
"babel": {
"presets": [
[
"latest",
{
"modules": false
}
]
]
},
"ava": {
"require": [
"babel-register"
],
"babel": "inherit"
},
"eslintConfig": {
"root": true,
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"rules": {
"no-console": "warn",
"no-debugger": "warn",
"camelcase": "warn",
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"warn",
"single"
]
}
},
"stylelint": {
"extends": "stylelint-config-standard"
}
}