-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.53 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
{
"name": "react-typescript",
"version": "1.0.0",
"description": " boilerplate with tsc and not bundling",
"main": "app/app.tsx",
"dependencies": {
"react": "^15.3.2",
"react-dom": "^15.3.2",
"requirejs": "^2.3.2",
"systemjs": "^0.19.41",
"typescript": "^2.1.4"
},
"devDependencies": {
"@types/core-js": "^0.9.34",
"@types/node": "^6.0.45",
"@types/react": "^0.14.39",
"@types/react-dom": "^0.14.17",
"browser-sync": "^2.18.5",
"concurrently": "^3.1.0",
"http-server": "^0.9.0",
"lite-server": "^2.2.2",
"minifier": "^0.8.0",
"mkdirp": "^0.5.1",
"source-map-loader": "^0.1.5",
"ts-loader": "^0.9.0",
"typescript": "^2.1.4"
},
"scripts": {
"setup": "npm install && cd build && npm install",
"build": "tsc",
"mnf": "minify build/src --template {{filename}}.{{ext}}",
"cp:sc": "cp systemjs.config.js build",
"cp:html": "cp index.html build",
"cp:css": "cp -rf css build/css",
"clean": "cd build && mv package.json node_modules && find . -mindepth 1 -name node_modules -prune -o -exec rm -rf {} + && mv node_modules/package.json .",
"start": "npm run clean && npm run cp:css && npm run cp:sc && npm run cp:html && npm run tsc && concurrently \"npm run serve:cdn\" \"npm run tsc:w\" \"npm run serve\" ",
"server": "http-server ./build -p 8000 --cors -o",
"serve": "cd build && browser-sync start --server . --files .",
"serve:cdn": "http-server ./cdn -p 8080 --cors",
"tsc": "tsc",
"tsc:w": "tsc -w"
},
"license": "MIT"
}