-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.6 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.6 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
{
"name": "bee.software",
"version": "1.4.6",
"description": "Notre site web",
"author": "Bee",
"license": "ISC",
"dependencies": {
"http-server": "0.11.1"
},
"devDependencies": {
"clean-css": "4.2.1",
"clean-css-cli": "4.3.0",
"digitalocean-api": "0.1.1",
"html-minifier": "4.0.0",
"normalize.css": "8.0.1",
"jasmine": "3.5.0",
"jshint": "2.10.2",
"zombie": "6.1.4"
},
"scripts": {
"clean": "rm -rf dist && mkdir dist",
"prebuild": "npm run clean -s",
"build": "npm run build:css -s & npm run build:html -s & npm run build:images -s",
"build:css": "cleancss src/main.css > dist/main.css",
"build:html": "html-minifier --config-file build/html-minifier.config src/homepage/index.html > dist/index.html",
"build:images": "mkdir dist/support && cp -a src/support/images dist/support",
"lint": "jshint **/*.js",
"pretest": "npm run clean -s && npm run lint -s && npm run build -s",
"test": "jasmine JASMINE_CONFIG_PATH=build/jasmine.json",
"deploy:test": "git push test master --follow-tags",
"postdeploy:test": "jasmine URL='http://bee.software:9090' JASMINE_CONFIG_PATH=build/jasmine-smoke-test.json",
"rollback:test": "build/rollback.sh test $1",
"deploy:prod": "git push prod master --follow-tags",
"postdeploy:prod": "jasmine URL='https://bee.software' JASMINE_CONFIG_PATH=build/jasmine-smoke-test.json",
"rollback:prod": "build/rollback.sh prod $1",
"serve:dev": "http-server dist -p 8080 -d false -o",
"serve:test": "http-server dist -p 9090 -d false",
"serve:prod": "http-server dist -p 8080 -d false"
}
}