This repository has been archived by the owner on May 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
58 lines (58 loc) · 2.79 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
{
"name": "web-offers",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "ISC",
"dependencies": {
"@types/react": "^16.0.38",
"@types/react-dom": "^16.0.4",
"@types/react-swipeable-views": "^0.12.1",
"babel-polyfill": "^6.26.0",
"react": "^16.2.0",
"react-dom": "^16.3.3",
"react-swipeable-views": "^0.12.13"
},
"devDependencies": {
"compression-webpack-plugin": "^1.1.11",
"css-loader": "^0.28.9",
"html-webpack-plugin": "^3.2.0",
"ngrock-webpack-plugin": "0.0.2",
"npm-run-all": "^4.1.2",
"rimraf": "^2.6.2",
"run-s": "0.0.0",
"style-loader": "^0.21.0",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"ts-loader": "^4.2.0",
"tslint": "^5.9.1",
"tslint-eslint-rules": "^4.1.1",
"typescript": "^2.6.2",
"webpack": "^4.28.3",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.2.1",
"webpack-dev-server": "^3.1.14",
"webpack-merge": "^4.1.2"
},
"scripts": {
"clean": "rimraf scripts/bin",
"transpile": "tsc -p scripts",
"transpile-watch": "npm run transpile -- --watch",
"serve": "webpack-dev-server --color --config webpack.dev.js",
"serve-public": "webpack-dev-server --no-info --colors --port 3330 --host 0.0.0.0 --config webpack.dev.js",
"dev": "npm-run-all transpile -p transpile-watch serve",
"bundle": "webpack --env.prod --progress --colors -p --config webpack.prod.js",
"build": "run-s transpile bundle",
"test": "echo \"Error: no tests defined\" && exit 1",
"upload": "aws s3 cp main.bundle.js.gz s3://cdn.kinmarketplace.com/main.bundle.js --content-encoding gzip --acl public-read && aws s3 cp index.html s3://cdn.kinmarketplace.com --acl public-read",
"upload-playground": "aws s3 cp main.bundle.js.gz s3://assets.kinplayground.com/web-offers/cards-based/main.bundle.js --content-encoding gzip --acl public-read && aws s3 cp index.html s3://assets.kinplayground.com/web-offers/cards-based/ --acl public-read",
"upload-beta": "aws s3 cp main.bundle.js.gz s3://assets.kinecosystembeta.com/web-offers/cards-based/main.bundle.js --content-encoding gzip --acl public-read && aws s3 cp index.html s3://assets.kinecosystembeta.com/web-offers/cards-based/ --acl public-read",
"upload-test": "aws s3 cp main.bundle.js.gz s3://assets.kinecosystemtest.com/web-offers/cards-based/main.bundle.js --content-encoding gzip --acl public-read && aws s3 cp index.html s3://assets.kinecosystemtest.com/web-offers/cards-based/ --acl public-read",
"publish": "npm run bundle && npm run upload",
"publish-playground": "npm run bundle && npm run upload-playground",
"publish-beta": "npm run bundle && npm run upload-beta",
"publish-test": "npm run bundle && npm run upload-test",
"analyze": "webpack --profile --json --config webpack.prod.js > stats.tmp.json; webpack-bundle-analyzer stats.tmp.json && rm stats.tmp.json"
}
}