This repository has been archived by the owner on Oct 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
58 lines (58 loc) · 2.82 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": "il2missionplanner.com",
"version": "1.0.0",
"description": "Il-2 Mission Planner",
"main": "index.html",
"repository": {
"type": "git",
"url": "git+https://github.com/gavincabbage/il2missionplanner.com.git"
},
"author": "Gavin Cabbage <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/gavincabbage/il2missionplanner.com/issues"
},
"homepage": "https://github.com/gavincabbage/il2missionplanner.com#readme",
"devDependencies": {
"bower": "^1.8.0",
"brfs": "^1.4.3",
"browserify": "^13.0.0",
"chai": "^3.5.0",
"clean-css": "^3.4.12",
"concurrently": "^3.4.0",
"istanbul": "^0.4.3",
"jshint": "^2.9.1",
"livereload": "^0.4.1",
"mocha": "^2.4.5",
"uglify-js": "^2.6.2",
"watch-run": "^1.2.4",
"xhr-mock": "^1.6.0"
},
"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",
"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": "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": "if [ \"${TRAVIS_BRANCH}\" != \"develop\" ] && [ \"${TRAVIS_BRANCH}\" != \"beta\" ] && [ \"${TRAVIS_BRANCH}\" != \"master\" ]; then export CONF_DIR=\"\"; else export CONF_DIR=\"${TRAVIS_BRANCH}/\"; fi && cp conf/${CONF_DIR}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",
"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: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/"
}
}