-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 2.3 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
{
"name": "RxTowerDefence",
"version": "0.1.0",
"description": "",
"main": "src/main.ts",
"scripts": {
"start": "webpack-dev-server --config ./webpack.config.js",
"lint": "tslint --config ./tslint.json --project ./tsconfig.json 'src/**/*.ts'",
"test": "mocha -r ts-node/register src/**/*.spec.ts",
"bundle": "webpack --config ./webpack.config.js",
"bundle:production": "webpack --config ./webpack.config.js --optimize-minimize",
"getTheme": "mkdir -p dist/fonts && wget https://raw.githubusercontent.com/kristopolous/BOOTSTRA.386/master/v2.3.1/bootstrap/css/bootstrap.css -O dist/bootstrap.css && wget https://github.com/kristopolous/BOOTSTRA.386/raw/master/v2.3.1/bootstrap/css/fonts/Fixedsys500c.woff -O dist/fonts/Fixedsys500c.woff",
"copy": "cp index.html dist/",
"clean": "rm -rf dist",
"build": "yarn run clean && yarn run bundle:production && yarn run getTheme && yarn run copy",
"deploy:develop": "aws s3 cp dist/ s3://rxtd-develop --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive",
"bundleSize": "bundlesize",
"deploy:master": "aws s3 cp dist/ s3://rxtd-master --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive",
"deploy:pull-request": "aws s3 cp dist/ s3://rxtd-pr --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive",
"deploy": "if [ \"$TRAVIS_BRANCH\" -eq \"develop\" ]; then yarn run deploy:develop; elif [ $TRAVIS_BRANCH == \"master\" ]; then yarn run deploy:master; else yarn run deploy:pull-request; fi"
},
"author": "Przemyslaw Jan Pietrzak",
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.7",
"@types/three": "^0.93.0",
"bundlesize": "^0.18.0",
"chai": "^4.2.0",
"html-webpack-plugin": "^3.2.0",
"mocha": "^6.2.0",
"rxjs-tslint-rules": "^4.24.3",
"ts-loader": "^6.0.4",
"ts-node": "^8.3.0",
"tslint": "^5.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-sonarts": "^1.9.0",
"typescript": "^3.5.3",
"typings": "^2.1.1",
"webpack": "^4.36.1",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.7.2"
},
"dependencies": {
"rxjs": "^6.3.3",
"three": "^0.93.0"
},
"bundlesize": [
{
"path": "./dist/bundle.js",
"maxSize": "175 kB"
}
]
}