|
1 | 1 | {
|
2 | 2 | "name": "pri",
|
3 |
| - "version": "0.0.29", |
| 3 | + "version": "0.0.30", |
4 | 4 | "types": "src/index.ts",
|
5 | 5 | "main": "built/index.js",
|
6 | 6 | "scripts": {
|
7 | 7 | "start": "tsc -w",
|
8 |
| - "build": "rm -rf built && rm -rf .cache && tsc", |
9 |
| - "prepublishOnly": "npm run build" |
| 8 | + "build": "rm -rf built && rm -rf .cache && tsc && npm run build-dashboard", |
| 9 | + "prepublishOnly": "npm run build", |
| 10 | + "build-dashboard": "parcel build --out-dir built/bundle ./src/commands/dev/dashboard/client/index.tsx" |
10 | 11 | },
|
11 | 12 | "bin": {
|
12 | 13 | "pri": "built/bin.js"
|
|
18 | 19 | "@babel/core": "^7.0.0-beta.39",
|
19 | 20 | "@babel/preset-env": "^7.0.0-beta.39",
|
20 | 21 | "@babel/preset-react": "^7.0.0-beta.39",
|
| 22 | + "@koa/cors": "^2.2.1", |
21 | 23 | "@types/chokidar": "^1.7.4",
|
22 | 24 | "@types/commander": "^2.12.2",
|
23 | 25 | "@types/fs-extra": "^5.0.0",
|
| 26 | + "@types/koa": "^2.0.44", |
| 27 | + "@types/koa-route": "^3.2.3", |
24 | 28 | "@types/lodash": "^4.14.100",
|
25 | 29 | "@types/node": "^9.4.0",
|
26 | 30 | "@types/opn": "^5.1.0",
|
27 | 31 | "@types/ora": "^1.3.1",
|
| 32 | + "@types/prettier": "^1.10.0", |
28 | 33 | "@types/react-dom": "^16.0.3",
|
29 | 34 | "@types/react-loadable": "^5.3.2",
|
30 | 35 | "@types/react-router-dom": "^4.2.3",
|
| 36 | + "@types/socket.io": "^1.4.31", |
| 37 | + "@types/socket.io-client": "^1.4.32", |
31 | 38 | "@types/update-notifier": "^2.0.0",
|
32 | 39 | "@types/yargs": "^10.0.1",
|
| 40 | + "antd": "^3.2.1", |
33 | 41 | "babel-preset-env": "^1.6.1",
|
| 42 | + "body-parser": "^1.18.2", |
34 | 43 | "chokidar": "^2.0.1",
|
35 | 44 | "colors": "^1.1.2",
|
36 | 45 | "commander": "^2.13.0",
|
| 46 | + "cors": "^2.8.4", |
| 47 | + "dob": "^2.5.8", |
| 48 | + "dob-react": "^2.4.10", |
37 | 49 | "fs-extra": "^5.0.0",
|
| 50 | + "koa": "^2.5.0", |
| 51 | + "koa-compress": "^2.0.0", |
| 52 | + "koa-mount": "^3.0.0", |
| 53 | + "koa-route": "^3.2.0", |
| 54 | + "koa-static": "^4.0.2", |
38 | 55 | "lodash": "^4.17.4",
|
| 56 | + "node-forge": "^0.7.1", |
39 | 57 | "opn": "^5.2.0",
|
40 | 58 | "ora": "^1.4.0",
|
41 | 59 | "parcel-bundler": "^1.5.1",
|
42 | 60 | "portfinder": "^1.0.13",
|
| 61 | + "prettier": "^1.10.2", |
43 | 62 | "react": "^16.2.0",
|
44 | 63 | "react-dom": "^16.2.0",
|
45 | 64 | "react-hot-loader": "^3.1.3",
|
46 | 65 | "react-loadable": "^5.3.1",
|
47 | 66 | "react-router-dom": "^4.2.2",
|
| 67 | + "socket.io": "^2.0.4", |
| 68 | + "socket.io-client": "^2.0.4", |
| 69 | + "styled-components": "^3.1.6", |
48 | 70 | "ts-loader": "^3.4.0",
|
49 | 71 | "tslint": "^5.9.1",
|
50 | 72 | "typescript": "^2.7.1",
|
|
0 commit comments