This repository was archived by the owner on Feb 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.45 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 4.45 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "pluto-declaration",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"pack": "rm -f dist.zip && rm -f dist/bundleBrowser.js && cp scripts/package.json dist/package.json && cd dist && npm install --cache=./.npm --production && zip -q -r ../dist.zip . ** && cd ..",
"clean": "rm -rf dist && rm -rf temp && rm -f dist.zip",
"build": "npm run clean && webpack --config webpack.prod.config.js -p && npm run build-browser",
"build-browser": "webpack --config webpack.browser.config.js -p",
"deploy:stage": "npm run build && ts-node scripts/deployToStage.ts && cp temp/version dist && cp scripts/handler.js dist && npm run pack && serverless deploy --stage stage",
"deploy:prod": "npm run build && ts-node scripts/deployToStage.ts && cp temp/version dist && cp scripts/handler.js dist && npm run pack && serverless deploy --stage production",
"dev": "webpack-dev-server --content-base app/ --hot --progress --colors --host 0.0.0.0",
"lint": "tslint 'app/**/*.ts' -e 'app/**/*.d.ts' && sass-lint -c .sass-lint.yml --verbose",
"unit-test": "rm -r output | jest --coverage",
"ssr-test": "touch output && npm run build && SSR_TEST=true node dist/bundle.js > ./output",
"test": "npm run lint && npm run unit-test && npm run ssr-test"
},
"engines": {
"node": "6.5.0"
},
"author": "Pluto",
"devDependencies": {
"@types/aws-sdk": "^2.7.0",
"@types/axios": "^0.14.0",
"@types/enzyme": "^3.1.0",
"@types/fs-extra": "4.0.2",
"@types/immutable": "^3.8.7",
"@types/jest": "^21.1.4",
"@types/material-ui": "^0.18.4",
"@types/node": "^8.0.46",
"@types/prop-types": "^15.5.2",
"@types/react": "^16.0.16",
"@types/react-dom": "^16.0.2",
"@types/react-ga": "^2.1.3",
"@types/react-redux": "^5.0.10",
"@types/react-router": "^4.0.16",
"@types/react-router-dom": "^4.0.8",
"@types/react-router-redux": "^5.0.8",
"@types/redux": "^3.6.31",
"@types/redux-logger": "^3.0.5",
"@types/redux-mock-store": "^0.0.11",
"@types/redux-thunk": "^2.1.31",
"@types/uuid": "^3.4.3",
"autoprefixer": "^7.1.6",
"aws-sdk": "^2.138.0",
"css-loader": "^0.28.7",
"enzyme": "^3.1.0",
"extract-text-webpack-plugin": "^3.0.1",
"fs-extra": "^4.0.2",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^2.30.1",
"imports-loader": "^0.7.1",
"isomorphic-style-loader": "^4.0.0",
"jasmine-reporters": "^2.2.1",
"jest": "^21.2.1",
"markdown-loader": "^2.0.1",
"node-sass": "^4.5.3",
"postcss-flexbugs-fixes": "^3.2.0",
"postcss-loader": "^2.0.8",
"precss": "^2.0.0",
"redux-mock-store": "^1.3.0",
"sass-lint": "^1.12.1",
"sass-loader": "^6.0.6",
"serverless": "^1.23.0",
"source-map-loader": "^0.2.2",
"svg-inline-loader": "^0.8.0",
"ts-jest": "21.1.3",
"ts-loader": "^3.0.5",
"ts-node": "^3.3.0",
"typescript": "^2.5.3",
"webpack": "^3.8.1",
"webpack-dev-server": "^2.9.3"
},
"dependencies": {
"axios": "^0.17.0",
"babel-polyfill": "^6.26.0",
"immutable": "^3.8.2",
"material-ui": "^0.19.4",
"moment": "^2.19.2",
"normalize.css": "^7.0.0",
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-ga": "^2.3.5",
"react-infinite-scroller": "^1.1.1",
"react-redux": "^5.0.6",
"react-router-dom": "^4.2.2",
"react-router-redux": "^5.0.0-alpha.8",
"redux": "^3.7.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"s3": "^4.4.0",
"shave": "^2.1.3",
"svg-sprite-loader": "^3.4.1",
"typed-immutable-record": "0.0.6",
"uuid": "^3.1.0"
},
"jest": {
"scriptPreprocessor": "<rootDir>/scripts/jestPreprocessor.js",
"setupTestFrameworkScriptFile": "<rootDir>/scripts/jestReporter.js",
"verbose": true,
"rootDir": "",
"globals": {
"__TS_CONFIG__": "tsconfig-test.json"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testPathDirs": [
"<rootDir>/app"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"coverageDirectory": "output/coverage",
"testRegex": "__tests__/.*_spec.tsx$",
"unmockedModulePathPatterns": [
"<rootDir>/node_modules",
"<rootDir>/scripts",
"<rootDir>/app/common",
"<rootDir>/",
"/__mocks__/",
"/.*\\.scss$",
"<rootDir>/app/__tests__"
],
"setupFiles": [
"<rootDir>/app/__tests__/preload.tsx"
],
"automock": true
}
}