forked from raohmaru/DOM-Tennis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 3.17 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 3.17 KB
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
{
"name": "domtennis",
"title": "DOM Tennis",
"version": "0.5.4",
"description": "HTML + CSS + JavaScript tennis game",
"main": "index.html",
"scripts": {
"build": "npm-run-all -l scaffold html css js svg copy",
"build:prod": "cross-env NODE_ENV=production npm-run-all -l clean scaffold lint css js minify svg copy",
"clean": "del-cli dist/*",
"scaffold": "make-dir dist/js",
"html": "copy-cli src/*.html dist/",
"css": "postcss -d dist/css/ src/css/main.css",
"js": "browserify -e src/js/main.js -t [ babelify ] -d | exorcist dist/js/main.js.map > dist/js/main.js",
"svg": "svg-sprite --stack --stack-dest dist/img/ --stack-sprite sprite.svg src/img/*.svg",
"copy": "copy-cli src/img/*.png dist/img/",
"lint": "npm-run-all -l lint:*",
"lint:html": "htmlhint src/index.html",
"lint:css": "stylelint src/css/** src/modules/**/*.css",
"lint:js": "eslint src/js/** src/modules/**/*.js",
"minify": "npm-run-all -l minify:* replace",
"minify:html": "html-minifier -c .htmlminifierrc -o dist/index.html src/index.html",
"minify:css": "cssnano dist/css/main.css dist/css/main.min.css --no-autoprefixer --no-calc",
"minify:js": "uglifyjs -m -c -o dist/js/main.min.js dist/js/main.js",
"replace": "cross-var replace \"\\.(css|js)\" \".min.$1?v=$npm_package_version\" dist/index.html -q",
"watch": "run-p watch:*",
"watch:html": "onchange \"src/index.html\" -- npm run html",
"watch:css": "onchange \"src/css/**\" \"src/modules/**/*.css\" -- npm run css",
"watch:js": "onchange \"src/js/**\" \"src/modules/**/*.js\" -- npm run js",
"start": "http-server dist/ -o --silent",
"test": "echo \"Error: no test specified\" && exit 1"
},
"pre-commit": [
"lint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/raohmaru/DOM-Tennis-2k18.git"
},
"keywords": [
"game",
"dom",
"css"
],
"author": {
"name": "Raohmaru",
"url": "https://twitter.com/raulparralejo"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/raohmaru/DOM-Tennis/issues"
},
"homepage": "https://github.com/raohmaru/DOM-Tennis#readme",
"browserslist": [
"> 1%",
"last 2 versions",
"IE 11"
],
"devDependencies": {
"babel-core": "6.26.0",
"babel-preset-env": "1.6.1",
"babelify": "8.0.0",
"browserify": "14.5.0",
"copy": "0.3.1",
"cross-env": "5.1.3",
"cross-var": "1.1.0",
"css-mqpacker": "6.0.1",
"cssnano": "3.10.0",
"cssnano-cli": "1.0.5",
"del": "3.0.0",
"del-cli": "1.1.0",
"eslint": "4.18.2",
"eslint-config-standard": "11.0.0-beta.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-node": "5.2.1",
"eslint-plugin-promise": "3.6.0",
"eslint-plugin-standard": "3.0.1",
"exorcist": "1.0.0",
"html-minifier": "3.5.8",
"htmlhint": "0.9.13",
"http-server": "0.10.0",
"make-dir-cli": "1.0.0",
"npm-run-all": "4.1.2",
"onchange": "3.3.0",
"postcss": "6.0.14",
"postcss-cli": "4.1.1",
"postcss-cssnext": "3.0.2",
"postcss-import": "11.0.0",
"pre-commit": "1.2.2",
"replace": "0.3.0",
"stylelint": "8.4.0",
"svg-sprite": "1.3.7"
},
"dependencies": {}
}