-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
231 lines (231 loc) · 10.2 KB
/
package.json
File metadata and controls
231 lines (231 loc) · 10.2 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
{
"name": "typescript-react-demo",
"version": "1.0.1",
"description": "This is a reference demo, written in TypeScript, that illustrates features and design patterns applicable to a more substantial React-based application.",
"scripts": {
"clean": "echo \"Cleaning Output Folders\" | chalk cyan && rimraf ./dist && rimraf ./doc && rimraf ./build && rimraf ./coverage && rimraf ./.nyc_output",
"watch": "npm-watch",
"start": "echo \"Starting HTTP Server\" | chalk cyan && http-server dist -p 3000 --cors --push-state",
"refresh-local-bundle": "better-npm-run refresh-local-bundle",
"build:local": "better-npm-run build:local",
"build:development": "better-npm-run build:development",
"build:qa": "better-npm-run build:qa",
"build:stage": "better-npm-run build:stage",
"build:production": "better-npm-run build:production",
"deploy:development": "better-npm-run deploy:development",
"deploy:qa": "better-npm-run deploy:qa",
"deploy:stage": "better-npm-run deploy:stage",
"deploy:production": "better-npm-run deploy:production",
"filecheck": "echo \"Type Check (JS -> TS)\" | chalk cyan && fsls ./src/**/*.js | chalk yellow && echo \"Type Check (JSX -> TSX)\" | chalk cyan && fsls ./src/**/*.jsx | chalk yellow && echo \"Type Check (CSS -> SCSS)\" | chalk cyan && fsls ./src/**/*.css | chalk yellow",
"testcheck": "echo \"Test Check\" | chalk cyan && node mocha.check.ts",
"lint": "echo \"Style Check (JS / JSX)\" | chalk cyan && eslint ./*.js ./*.jsx ./src/**/*.js ./src/**/*.jsx && echo \"Style Check (TS / TSX)\" | chalk cyan && tslint --project ./tsconfig.json ./src/**/*.ts ./src/**/*.tsx && echo \"Style Check (JSON)\" | chalk cyan && jsonlint-cli ./*.json ./src/**/*.json && echo \"Style Check (SCSS)\" | chalk cyan && sass-lint ./*.scss ./src/**/*.scss --verbose && echo \"Style Check (MD)\" | chalk cyan && markdownlint ./README.md ./src/ && echo \"Style Check (HTM / HTML / XHTML)\" | chalk cyan && htmlhint --config .htmlhintrc ./src/**/*.{htm,html,xhtml}",
"doc": "echo \"Generating Documentation\" | chalk cyan && typedoc --options typedoc.json | chalk red",
"configure-test:prep": "better-npm-run configure-test:prep",
"configure-test:exec": "better-npm-run configure-test:exec",
"test:prep": "echo \"Preparing Tests\" | chalk cyan && rimraf ./build && rimraf ./coverage && rimraf ./.nyc_output && tsc --project ./tsconfig.json && copyfiles -e \"src/**/*.ts\" -e \"src/**/*.tsx\" \"src/**/*.*\" build",
"test:exec": "echo \"Executing Tests\" | chalk cyan && rimraf ./build && rimraf ./coverage && rimraf ./.nyc_output && tsc --project ./tsconfig.json && copyfiles -e \"src/**/*.ts\" -e \"src/**/*.tsx\" \"src/**/*.*\" build && nyc mocha --opts mocha.opts && nyc report"
},
"betterScripts": {
"refresh-local-bundle": {
"command": "webpack --display-modules --config webpack.config.debug.js",
"env": {
"NODE_ENV": "local"
}
},
"configure-test:prep": {
"command": "npm run test:prep",
"env": {
"NODE_ENV": "local"
}
},
"configure-test:exec": {
"command": "npm run test:exec",
"env": {
"NODE_ENV": "local"
}
},
"build:local": {
"command": "npm run filecheck && npm run testcheck && npm run lint && echo \"Building Application (Local)\" | chalk cyan && webpack --display-modules --config webpack.config.debug.js && npm run doc && npm run test:exec",
"env": {
"NODE_ENV": "local"
}
},
"build:development": {
"command": "npm run filecheck && npm run testcheck && npm run lint && echo \"Building Application (Development)\" | chalk cyan && webpack --display-modules --config webpack.config.release.js && npm run doc && npm run test:exec",
"env": {
"NODE_ENV": "development"
}
},
"build:qa": {
"command": "npm run filecheck && npm run testcheck && npm run lint && echo \"Building Application (QA)\" | chalk cyan && webpack --display-modules --config webpack.config.release.js && npm run doc && npm run test:exec",
"env": {
"NODE_ENV": "qa"
}
},
"build:stage": {
"command": "npm run filecheck && npm run testcheck && npm run lint && echo \"Building Application (Stage)\" | chalk cyan && webpack --display-modules --config webpack.config.release.js && npm run doc && npm run test:exec",
"env": {
"NODE_ENV": "stage"
}
},
"build:production": {
"command": "npm run filecheck && npm run testcheck && npm run lint && echo \"Building Application (Production)\" | chalk cyan && webpack --display-modules --config webpack.config.release.js && npm run doc && npm run test:exec",
"env": {
"NODE_ENV": "production"
}
},
"deploy:development": {
"command": "echo \"Deploying Application (Development)\" | chalk cyan && webpack --display-modules --config webpack.config.release.js",
"env": {
"NODE_ENV": "development"
}
},
"deploy:qa": {
"command": "echo \"Deploying Application (QA)\" | chalk cyan && webpack --display-modules --config webpack.config.release.js",
"env": {
"NODE_ENV": "qa"
}
},
"deploy:stage": {
"command": "echo \"Deploying Application (Stage)\" | chalk cyan && webpack --display-modules --config webpack.config.release.js",
"env": {
"NODE_ENV": "stage"
}
},
"deploy:production": {
"command": "echo \"Deploying Application (Production)\" | chalk cyan && webpack --display-modules --config webpack.config.release.js",
"env": {
"NODE_ENV": "production"
}
}
},
"watch": {
"refresh-local-bundle": {
"patterns": [
"src"
],
"extensions": "js,jsx,ts,tsx,json,css,scss"
}
},
"sasslintConfig": ".sass-lint.yml",
"keywords": [
"TypeScript",
"React"
],
"author": {
"name": "Shawn Headrick",
"email": "shawn_headrick@yahoo.com",
"url": "https://github.com/IronManRust"
},
"license": "MIT",
"homepage": "https://github.com/IronManRust/typescript-react-demo",
"repository": {
"type": "git",
"url": "https://github.com/IronManRust/typescript-react-demo.git"
},
"devDependencies": {
"babel-core": "6.26.3",
"@types/babel-core": "6.25.5",
"babel-eslint": "10.0.1",
"babel-loader": "7.1.5",
"babel-plugin-add-module-exports": "1.0.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"better-npm-run": "0.1.1",
"chalk-cli": "4.1.0",
"clean-webpack-plugin": "1.0.0",
"copyfiles": "2.1.0",
"css-loader": "1.0.1",
"eslint": "4.19.1",
"eslint-plugin-react": "7.11.1",
"file-loader": "2.0.0",
"fsls": "0.0.9",
"htmlhint": "0.10.1",
"@types/htmlhint": "0.9.1",
"ignore-styles": "5.0.1",
"jsdom": "13.0.0",
"@types/jsdom": "12.2.0",
"jsonlint-cli": "1.0.1",
"markdownlint-cli": "0.13.0",
"mocha": "5.2.0",
"@types/mocha": "5.2.5",
"mock-local-storage": "1.0.5",
"node-sass": "4.12.0",
"@types/node-sass": "3.10.32",
"npm-watch": "0.5.0",
"nyc": "13.1.0",
"path": "0.12.7",
"react-test-renderer": "16.6.3",
"@types/react-test-renderer": "16.0.2",
"rimraf": "2.6.2",
"@types/rimraf": "2.0.2",
"sass-lint": "1.12.1",
"sass-loader": "7.1.0",
"sinon": "7.2.0",
"@types/sinon": "5.0.7",
"spa-http-server": "0.9.0",
"style-loader": "0.23.0",
"ts-loader": "5.3.1",
"ts-node": "7.0.1",
"tslint": "5.11.0",
"tslint-eslint-rules": "5.4.0",
"tslint-microsoft-contrib": "6.0.0",
"tslint-react": "3.6.0",
"typedoc": "0.13.0",
"typescript": "3.2.2",
"url-loader": "1.1.2",
"webpack": "4.27.1",
"@types/webpack": "4.4.21",
"webpack-cli": "3.1.2"
},
"dependencies": {
"babel-polyfill": "6.26.0",
"bootstrap": "3.4.1",
"@types/bootstrap": "3.3.42",
"chai": "4.2.0",
"@types/chai": "4.1.7",
"chai-enzyme": "1.0.0-beta.1",
"@types/chai-enzyme": "0.6.5",
"cheerio": "1.0.0-rc.2",
"@types/cheerio": "0.22.10",
"classnames": "2.2.6",
"@types/classnames": "2.2.6",
"colors": "1.3.3",
"@types/colors": "1.2.1",
"enzyme": "3.8.0",
"@types/enzyme": "3.1.15",
"enzyme-adapter-react-16": "1.7.1",
"@types/enzyme-adapter-react-16": "1.0.3",
"fixed-width-string": "1.0.0",
"immutable": "3.8.2",
"@types/node": "10.12.12",
"path-sort": "0.1.0",
"react": "16.6.3",
"@types/react": "16.7.13",
"react-bootstrap": "0.32.4",
"@types/react-bootstrap": "0.32.15",
"react-cookie": "1.0.5",
"react-dom": "16.6.3",
"@types/react-dom": "16.0.11",
"react-loader": "2.4.5",
"@types/react-loader": "2.4.3",
"react-redux": "6.0.0",
"@types/react-redux": "6.0.11",
"react-router-bootstrap": "0.24.4",
"@types/react-router-bootstrap": "0.24.5",
"react-router-dom": "4.3.1",
"@types/react-router-dom": "4.3.1",
"recursive-readdir": "2.2.2",
"@types/recursive-readdir": "2.2.0",
"redux": "4.0.1",
"redux-thunk": "2.3.0",
"statuses": "1.5.0",
"@types/statuses": "1.3.0",
"superagent": "4.0.0",
"@types/superagent": "3.8.5",
"uuid": "3.3.2",
"@types/uuid": "3.4.4"
}
}