|
|
@ -5,43 +5,44 @@ |
|
|
|
"scripts": { |
|
|
|
"scripts": { |
|
|
|
"start": "node dist/server.js", |
|
|
|
"start": "node dist/server.js", |
|
|
|
"dev": "node build/dev-server.js", |
|
|
|
"dev": "node build/dev-server.js", |
|
|
|
"build": "webpack --config build/webpack.prod.conf.js" |
|
|
|
"build": "webpack --config build/webpack.prod.conf.js", |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"6-14-start": "node dist/server-6-14.js", |
|
|
|
|
|
|
|
"6-14-install": "npm install && npm install babel-cli", |
|
|
|
|
|
|
|
"6-14-copyserver": "echo \"require('babel-polyfill'); \" > dist/server-6-14-prebuild.js && cat dist/server.js >> dist/server-6-14-prebuild.js", |
|
|
|
|
|
|
|
"6-14-prebuild": "npm run build && npm run 6-14-copyserver", |
|
|
|
|
|
|
|
"6-14-build": "npm run 6-14-prebuild && babel --presets es2015 dist/server-6-14-prebuild.js -o dist/server-6-14.js " |
|
|
|
}, |
|
|
|
}, |
|
|
|
"repository": { |
|
|
|
"repository": { |
|
|
|
"type": "git", |
|
|
|
"type": "git", |
|
|
|
"url": "git+https://github.com/hastic/hastic-server.git" |
|
|
|
"url": "git+https://github.com/hastic/hastic-server.git" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"author": "CorpGlory", |
|
|
|
"author": "Hastic Core Team", |
|
|
|
"license": "ISC", |
|
|
|
"license": "Apache-2.0", |
|
|
|
"bugs": { |
|
|
|
"bugs": { |
|
|
|
"url": "https://github.com/hastic/hastic-server/issues" |
|
|
|
"url": "https://github.com/hastic/hastic-server/issues" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"homepage": "https://github.com/hastic/hastic-server#readme", |
|
|
|
"homepage": "https://github.com/hastic/hastic-server#readme", |
|
|
|
"dependencies": {}, |
|
|
|
"dependencies": { |
|
|
|
|
|
|
|
"axios": "^0.18.0", |
|
|
|
|
|
|
|
"es6-promise": "^4.2.4", |
|
|
|
|
|
|
|
"event-stream": "^3.3.4", |
|
|
|
|
|
|
|
"koa": "^2.5.1", |
|
|
|
|
|
|
|
"koa-bodyparser": "^4.2.1", |
|
|
|
|
|
|
|
"koa-router": "^7.4.0" |
|
|
|
|
|
|
|
}, |
|
|
|
"devDependencies": { |
|
|
|
"devDependencies": { |
|
|
|
"@types/axios": "^0.14.0", |
|
|
|
|
|
|
|
"@types/koa": "^2.0.45", |
|
|
|
"@types/koa": "^2.0.45", |
|
|
|
"@types/koa-bodyparser": "^4.2.0", |
|
|
|
"@types/koa-bodyparser": "^4.2.0", |
|
|
|
"@types/koa-router": "^7.0.28", |
|
|
|
"@types/koa-router": "^7.0.28", |
|
|
|
"axios": "^0.18.0", |
|
|
|
|
|
|
|
"babel-core": "^6.26.3", |
|
|
|
"babel-core": "^6.26.3", |
|
|
|
"babel-loader": "^6.4.1", |
|
|
|
"babel-loader": "^7.1.4", |
|
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", |
|
|
|
"babel-preset-env": "^1.7.0", |
|
|
|
"babel-plugin-transform-object-assign": "^6.22.0", |
|
|
|
|
|
|
|
"babel-plugin-transform-runtime": "^6.23.0", |
|
|
|
|
|
|
|
"babel-polyfill": "^6.26.0", |
|
|
|
|
|
|
|
"babel-preset-es2015": "^6.24.1", |
|
|
|
"babel-preset-es2015": "^6.24.1", |
|
|
|
"babel-runtime": "^6.26.0", |
|
|
|
"nodemon": "^1.17.5", |
|
|
|
"encoding": "^0.1.12", |
|
|
|
"ts-loader": "^4.4.1", |
|
|
|
"es6-promise": "^4.2.4", |
|
|
|
|
|
|
|
"event-stream": "^3.3.4", |
|
|
|
|
|
|
|
"fast-csv": "^2.4.1", |
|
|
|
|
|
|
|
"koa": "^2.5.1", |
|
|
|
|
|
|
|
"koa-bodyparser": "^4.2.1", |
|
|
|
|
|
|
|
"koa-router": "^7.4.0", |
|
|
|
|
|
|
|
"nodemon": "^1.17.3", |
|
|
|
|
|
|
|
"ts-loader": "^3.5.0", |
|
|
|
|
|
|
|
"typescript": "^2.8.3", |
|
|
|
"typescript": "^2.8.3", |
|
|
|
"webpack": "^3.5.6" |
|
|
|
"webpack": "^4.12.0", |
|
|
|
|
|
|
|
"webpack-cli": "^3.0.8" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|