/
package.json
58 lines (58 loc) · 2.14 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
{
"name": "es6_stoper",
"version": "1.0.0",
"description": "es6 babel stoper",
"main": "script.js",
"scripts": {
"start": "babel js/script.js --watch --out-file js/script-compiled.js",
"test": "npm-run-all test:*",
"test:html": "globstar nu-html-checker *.html",
"init-project": "npm install && npm-run-all init:*",
"init:dirs": "mkdirp sass css vendor images js",
"init:files": "touch README.md index.html sass/style.scss js/script.js",
"init:gitignore": "curl https://raw.githubusercontent.com/github/gitignore/master/Node.gitignore -o .gitignore",
"build": "npm-run-all build:* test",
"build:clean": "rimraf css/*",
"build:sass": "node-sass --output-style compact -o css sass",
"build:autoprefixer": "autoprefixer-cli css/style.css",
"build-dev:sass": "node-sass --output-style expanded --source-map false -o css sass",
"build:docs": "rm -r docs && mkdir docs && cp -r vendor docs && cp *.html docs && cp -r css docs && cp -r js docs",
"task:mini-com": "html-minifier --remove-comments --remove-tag-whitespace --collapse-whitespace -o",
"build:mini": "npm run task:mini-com docs/index.html docs/index.html",
"watch": "npm-run-all build -p watch:*",
"watch:sassprefixer": "onchange -d 100 sass/*.scss -- npm-run-all build:sass build:autoprefixer",
"watch:browsersync": "browser-sync start --server --files css/*.css *.html"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Shoulao/es6_stoper.git"
},
"keywords": [
"es6",
"babel",
"stoper",
"stopwatch",
"js"
],
"author": "m.wozniak",
"license": "ISC",
"bugs": {
"url": "https://github.com/Shoulao/es6_stoper/issues"
},
"homepage": "https://github.com/Shoulao/es6_stoper#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-latest": "^6.24.1",
"autoprefixer-cli": "^1.0.0",
"browser-sync": "^2.26.3",
"compress-images": "^1.4.6",
"globstar": "^1.0.0",
"html-minifier": "^3.5.21",
"mkdirp": "^0.5.1",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.3",
"nu-html-checker": "^0.1.0",
"onchange": "^5.1.0",
"rimraf": "^2.6.2"
}
}