forked from jasontk19/il2missionplanner.com
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
66 lines (66 loc) · 3.17 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
{
"name": "il2missionplanner-revived",
"version": "2.0.0",
"description": "Il-2 Mission Planner Revived",
"main": "index.html",
"repository": {
"type": "git",
"url": "git+https://github.com/serverror/il2missionplanner.com.git"
},
"author": "Gavin Cabbage <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/serverror/il2missionplanner.com/issues"
},
"homepage": "https://github.com/serverror/il2missionplanner.com#readme",
"devDependencies": {
"bower": "^1.8.12",
"brfs": "^2.0.2",
"browserify": "^17.0.0",
"chai": "^4.3.0",
"clean-css": "^3.4.12",
"concurrently": "^5.3.0",
"istanbul": "^0.4.5",
"jshint": "^2.12.0",
"livereload": "^0.9.1",
"mocha": "^8.3.0",
"uglify-js": "^3.12.8",
"watch-run": "^1.2.5",
"xhr-mock": "^1.6.0",
"serve": "^13.0.2"
},
"scripts": {
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha app/js/**/*.test.js",
"uglify": "./node_modules/.bin/uglifyjs dist/index.tmp.js -o dist/index.js && rm dist/index.tmp.js",
"test": "mocha app/js/**/*.test.js",
"lint": "jshint app/js/**.js",
"clean": "rm -rf dist",
"tilefolder": "mkdir -p tile-temp && mkdir -p dist/tiles",
"tileclone": "git clone https://github.com/ServError/tiles.il2missionplanner.com.git tile-temp || git -C tile-temp pull",
"tilemove": "cp -R tile-temp/dist/* dist/tiles && rm -rf tile-temp",
"browserify": "browserify -t brfs app/js/index.js -o dist/index.tmp.js",
"browserify:dev": "browserify -t brfs app/js/index.js -o dist/index.js -d",
"copy:vendor": "mkdir -p dist/vendor && cp -R app/vendor/* dist/vendor/",
"copy:img": "mkdir -p dist/img; cp app/img/dist/* dist/img/",
"copy:html": "cp app/index.html dist/index.html",
"copy:conf": "cp conf/conf.json dist/conf.json",
"copy": "mkdir -p dist && npm run copy:vendor && npm run copy:img && npm run copy:html && npm run copy:conf",
"dist:js:dev": "npm run lint && npm test && npm run browserify:dev",
"dist:js": "npm run lint && npm test && npm run browserify && npm run uglify",
"dist:dev": "npm run copy && npm run dist:js:dev && npm run dist:css",
"dist": "npm run copy && npm run dist:js && npm run dist:css",
"tiles": "npm run tilefolder && npm run tileclone && npm run tilemove",
"build": "bower install && npm run dist",
"start": "npm run develop",
"watch:conf": "watch-run -p 'conf/conf.json' npm run dist:js:dev",
"watch:css": "watch-run -p 'app/css/**/*.css' npm run dist:css",
"watch:index": "watch-run -p 'app/index.html' npm run copy:html",
"watch:js": "watch-run -p 'app/js/**/*.js' npm run dist:js:dev",
"watch:html": "watch-run -p 'app/html/**/*.html' npm run dist:js:dev",
"watch:img": "watch-run -p 'app/img/dist/*' npm run copy:img",
"develop": "npm run clean && npm run dist:dev && concurrently \"npm run watch:conf\" \"npm run watch:css\" \"npm run watch:index\" \"npm run watch:js\" \"npm run watch:html\" \"npm run watch:img\" \"npm run reload\" \"serve dist\"",
"dist:css": "cleancss -o dist/index.css app/css/index.css",
"nodist": "npm run lint && npm test",
"reload": "livereload ./dist/"
}
}