-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
48 lines (48 loc) · 2.45 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
{
"name": "bacc",
"version": "1.1.2",
"description": "BACC by DZB assist the EPUB3 production with focus on Accessibility requirements",
"keywords": [
"a11y",
"accessibility",
"checker",
"dzb",
"epub3",
"epub",
"validator",
"wcag",
"reading"
],
"license": "MIT",
"engines": {
"node": ">=7"
},
"author": {
"name": "DZB developers",
"organization": "DZB",
"url": "https://dzb.de/",
"email": "[email protected]"
},
"scripts": {
"build:frontend": "cd ./frontend && npm run build:prod",
"build:deploy:test:amazon": "npm run build:test && npm run deploy:test:amazon",
"build:deploy:test:dzb": "npm run build:prod && npm run deploy:test:dzb",
"build:deploy:prod": "npm run build:prod && npm run deploy:prod",
"build:backend": "npm run prebuild:backend && rsync -ru --progress ./backend/* ./dist/backend --exclude='node_modules/' --exclude='.git/' --exclude='.idea/' --exclude='uploads/'--exclude='bacc.log' --exclude='package-lock.json' --exclude='statistics.json' --exclude='yarn.lock'",
"build:prod": "npm run prebuild && npm run build:frontend && npm run build:backend",
"build:test": "npm run prebuild && cd ./frontend && npm run build:test && cd .. && npm run build:backend",
"run:backend": "node ./backend/webApi",
"run:frontend": "cd ./frontend && npm run start:app",
"deploy:badi:prod": "sh ./deploy_bacc.sh 'lars@dzbvm-badi' '~/.ssh/badi.pem' '~/bacc/www' 'prod'",
"deploy:test:amazon": "sh ./deploy_bacc.sh '[email protected]' '~/.ssh/bacc.pem' '~/bacc/www' 'test:amazon'",
"deploy:prod": "sh ./deploy_bacc.sh 'lars@dzbvm-dacapo' '~/.ssh/id_rsa' '~/bacc/www' 'prod'",
"deploy:test:dzb": "sh ./deploy_bacc.sh 'lars@dzbvm-badi' '~/.ssh/badi.pem' '~/bacc/www_test' 'test:dzb'",
"prebuild": "./backend/node_modules/.bin/rimraf dist && mkdir dist",
"prebuild:backend": "./backend/node_modules/.bin/rimraf dist/backend && mkdir dist/backend",
"clear:uploads": "./backend/node_modules/.bin/rimraf uploads && ./backend/node_modules/.bin/rimraf backend/uploads",
"postinstall": "cd backend && npm install && cd ./../frontend && npm i",
"npm:version:minor": "npm -f version minor && cd backend && npm -f version minor && cd ./../frontend && npm -f version minor",
"npm:version:patch": "npm -f version patch && cd backend && npm -f version patch && cd ./../frontend && npm -f version patch"
},
"dependencies": {}
}