-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpackage.json
80 lines (80 loc) · 3.05 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
{
"name": "nci-ansible-ui",
"version": "1.1.2",
"description": "Simple web interface for run ansible playbooks",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build-less": "lessc app/styles/index.less > static/css/index.css",
"build-js": "browserify app/app.js -t ./transforms/jade.js | uglifyjs -mc > static/js/app.build.js",
"watch-less": "chokidar --initial --silent app/styles/**/*.less app/styles/index.less -c 'npm run build-less'",
"watch-js": "watchify app/app.js -t ./transforms/jade.js -o static/js/app.build.js -dv",
"_init-dev": "touch static/js/app.build.js && touch static/css/index.css",
"dev": "test -z $NODE_ENV && export NODE_ENV=development; nrun _init-dev && parallelshell 'nrun build-fonts' 'nrun watch-less' 'nrun watch-js' 'nrun build-html'",
"sync": "npm install && npm prune",
"lint": "jshint ./",
"build-fonts": "mkdir -p static/fonts/ && parallelshell 'cp ./node_modules/bootstrap/fonts/* ./static/fonts/' 'cp ./node_modules/font-awesome/fonts/* ./static/fonts/' 'cp ./node_modules/scmicons/fonts/* ./static/fonts/'",
"build-clean": "rm static/index.html",
"build-html": "jade views/index.jade --obj \"{'env': '$NODE_ENV'}\" -o static/",
"build": "test -z $NODE_ENV && export NODE_ENV=production; nrun build-fonts && nrun build-js && nrun build-less && nrun build-html",
"_build-docker-image": "if [ \"$imageTag\" = \"\" ]; then echo \"imageTag is not set\"; exit 1; fi; docker build --tag okvd/nci-ansible-ui:$imageTag ./docker/",
"build-docker-image": "export imageTag=$npm_package_version && npm run _build-docker-image",
"build-docker-image-alpha": "export imageTag=$npm_package_version-alphaimage && npm run _build-docker-image",
"build-docker-image-latest": "export imageTag=latest && npm run _build-docker-image"
},
"repository": {
"type": "git",
"url": "https://github.com/node-ci/nci-ansible-ui.git"
},
"keywords": [
"nciplugin",
"ui",
"interface",
"ansible",
"playbook"
],
"contributors": [
{
"name": "Oleg Korobenko",
"email": "[email protected]"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/node-ci/nci-ansible-ui/issues"
},
"homepage": "https://github.com/node-ci/nci-ansible-ui",
"dependencies": {
"data.io": "0.3.0",
"socket.io": "1.7.2",
"twostep": "0.4.2",
"underscore": "1.8.3"
},
"devDependencies": {
"ansi_up": "1.3.0",
"bootstrap": "3.3.4",
"browserify": "13.0.0",
"chokidar-cli": "1.2.0",
"font-awesome": "4.3.0",
"jade": "1.11.0",
"jshint": "2.4.4",
"less": "3.7.1",
"moment": "2.10.6",
"nrun": "0.1.4",
"parallelshell": "3.0.2",
"react": "0.14.3",
"react-dom": "0.14.3",
"react-jade": "2.5.0",
"react-router": "0.13.5",
"reflux": "0.2.7",
"scmicons": "1.3.0",
"simple-scrolltop": "1.0.1",
"socket.io-client": "1.7.2",
"through": "2.3.8",
"uglifyjs": "2.4.10",
"watchify": "3.6.1"
},
"peerDependencies": {
"nci": ">=1.0.1 <1.1.0"
}
}