-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·54 lines (54 loc) · 2.5 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
{
"main": "src/js/index.js",
"name": "whiteboard-client",
"version": "1.0.0",
"description": "whiteboard web client",
"private": true,
"author": "Toni Mägel <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/tmaegel/whiteboard-client"
},
"license": "ISC",
"dependencies": {
"chart.js": "^2.9.3",
"crypto-js": "^4.0.0",
"vue": ">=2.6.11",
"vue-chartjs": "^3.5.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"babel": "^6.23.0",
"babel-core": "^6.26.3",
"babel-preset-es2015": "^6.24.1",
"chai": "^4.2.0",
"css-loader": "^3.6.0",
"deep-eql": "^4.0.0",
"eslint": "^7.7.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-vue": "^6.2.2",
"expect.js": "^0.3.1",
"html-webpack-plugin": "^4.3.0",
"mocha": "^7.2.0",
"style-loader": "^1.2.1",
"vue-loader": "^15.9.3",
"vue-template-compiler": "^2.6.11",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
},
"scripts": {
"lint": "eslint src/js",
"test": "mocha --require babel-core/register",
"build:dev": "ln -sf config.js.dev src/js/config.js && npx webpack --config webpack.dev.js && cp -rv {img/,src/css/,manifest.webmanifest} dist/",
"build:prod": "ln -sf config.js.prod src/js/config.js && npx webpack --config webpack.prod.js && cp -rv {img/,src/css/,manifest.webmanifest} dist/ && docker build --pull -t whiteboard-frontend:prod . && tar czf dist_whiteboard_frontend_prod.tgz dist/",
"full-start:dev": "docker-compose -f docker-compose_dev.yml down ; docker-compose -f docker-compose_dev.yml build ; docker-compose -f docker-compose_dev.yml up -d",
"full-start:prod": "docker-compose -f docker-compose_prod.yml down ; docker-compose -f docker-compose_prod.yml build ; docker-compose -f docker-compose_prod.yml up -d",
"full-stop:dev": "docker-compose -f docker-compose_dev.yml down",
"full-stop:prod": "docker-compose -f docker-compose_prod.yml down",
"start:dev": "docker rm whiteboard-frontend-dev ; docker run --name whiteboard-frontend-dev -p 127.0.0.1:8080:80 -v ${PWD}/dist/:/usr/share/nginx/html:ro -v ${PWD}/build/nginx.conf:/etc/nginx/nginx.conf:ro -d nginx:mainline-alpine",
"start:prod": "docker rm whiteboard-frontend-prod ; docker run --name whiteboard-frontend-prod -p 127.0.0.1:8080:8080 -d whiteboard-frontend:prod",
"stop:dev": "docker stop whiteboard-frontend-dev",
"stop:prod": "docker stop whiteboard-frontend-prod"
}
}