-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 4.2 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
{
"name": "blaugame.com",
"version": "0.1.0",
"description": "Blau Game Official Website",
"homepage": "https://blaugame.com",
"repository": "xablauger-studios/blau-game-site",
"license": "MIT",
"author": "ythecombinator <[email protected]>",
"private": "true",
"engines": {
"node": "^6.0.0"
},
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"backstopjs": "^2.0.4",
"bower": "^1.7.9",
"browser-sync": "^2.17.3",
"eslint": "^3.6.1",
"eslint-config-standard": "^6.2.0",
"eslint-plugin-promise": "^3.0.0",
"eslint-plugin-standard": "^2.0.1",
"gh-pages": "^0.11.0",
"html-minifier-cli": "^0.1.0",
"html-validator-cli": "^3.0.1",
"husky": "^0.11.9",
"imagemin-cli": "^3.0.0",
"kouto-swiss": "^0.13.1",
"milligram-stylus": "^1.0.0",
"npm-check": "^5.2.3",
"npm-run-all": "^3.1.0",
"onchange": "^3.0.2",
"opn-cli": "^3.1.0",
"plato": "^1.7.0",
"pug": "^2.0.0-beta6",
"rupture": "^0.6.2",
"sitespeed.io": "^3.11.8",
"stylint": "^1.5.7",
"stylus": "^0.54.5",
"svgo": "^0.7.1",
"uglify-js": "^2.6.2"
},
"scripts": {
"start": "run-s build watch",
"clean": "rm -rf dist && mkdir dist",
"postinstall": "bower install",
"prestart": "npm install",
"pretest": "npm install",
"build:templates:pug": "node tasks/templates/compiler.js",
"build:templates:validator": "html-validator --file=dist/index.html --verbose --format=gnu",
"build:templates": "run-s build:templates:pug build:templates:validator && cp -rf src/manifest.json dist",
"build:scripts:babel": "babel -p -d node_modules/.babel-cache src/scripts",
"build:scripts:uglify": "mkdir -p dist/scripts && uglifyjs node_modules/.babel-cache/*.js -m -c -o dist/scripts/main.min.js && rm -rf node_modules/.babel-cache",
"build:scripts:eslint": "eslint -c .eslintrc src/scripts",
"build:scripts": "run-s build:scripts:eslint build:scripts:babel build:scripts:uglify",
"build:styles:stylus": "mkdir -p dist/styles && stylus -c src/styles/main.styl -o dist/styles/main.min.css -u rupture",
"build:styles:lint": "stylint --config .styluslintrc src/styles/*styl",
"build:styles": "run-s build:styles:lint build:styles:stylus",
"build:vendor": "cp -rf src/vendor dist",
"build:images:imagemin": "imagemin src/images/* -o dist/images",
"build:images:svgo": "svgo -f src/images && mkdir -p dist/images ",
"build:images": "run-s build:images:imagemin build:images:svgo",
"build:videos": "mkdir -p dist/videos && cp -rf src/videos dist",
"build:docs": "cp -rf *.md dist",
"build:domainConfig": "echo blaugame.com > dist/CNAME",
"build": "run-s clean build:templates build:scripts build:styles build:vendor build:images build:videos build:docs build:domainConfig",
"serve": "browser-sync start -s dist -f dist",
"watch:templates": "onchange 'src/templates' 'src/config.json' -- npm run build:templates",
"watch:scripts": "onchange 'src/scripts' -- npm run build:scripts",
"watch:styles": "onchange 'src/styles' -- npm run build:styles",
"watch:vendor": "onchange 'src/vendor' -- npm run build:vendor",
"watch:images": "onchange 'src/images' -- npm run build:images",
"watch:videos": "onchange 'src/videos' -- npm run build:videos",
"watch:docs": "onchange '*.md' -- npm run build:docs",
"watch": "run-p watch:templates watch:scripts watch:styles watch:vendor watch:images watch:videos watch:docs serve",
"test:complexity:plato": "plato -r -d test/complexity -e .eslintrc -t 'Code Complexity Tool' -x .json src/scripts/*.js && opn test/complexity/index.html",
"test:complexity": "run-s test:complexity:plato",
"test:perf:sitespeedio": "sitespeed.io -u http://localhost:3000 -r test/perf --suppressDomainFolder",
"test:perf": "run-s test:perf:sitespeedio",
"test:regression:reference": "backstop reference",
"test:regression:compare": "backstop test",
"test:regression": "run-s serve & run-s test:regression:reference && run-s test:regression:compare",
"test:npm": "npm-check -u",
"test": "npm run build",
"deploy": "node tasks/deploy/gh-pages.js"
}
}