80 lines
2.5 KiB
JSON
80 lines
2.5 KiB
JSON
{
|
|
"name": "@rondo/server",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "jest",
|
|
"lint": "tslint --project .",
|
|
"clean": "find src/ -type f -name '*.js' | xargs rm",
|
|
"watch": "npm-run-all -p '*:watch'",
|
|
"js:build": "browserify src/client/index.tsx -p [ tsify --project .] -g [ loose-envify purge --NODE_ENV production ] -v -o build/client.js",
|
|
"js:watch": "watchify src/client/index.tsx -p [tsify --project .] -v -d -o build/client.js",
|
|
"js:minify": "terser --ecma 5 --compress -o build/client.min.js --mangle -- build/client.js",
|
|
"start": "ts-node src/server/index.ts",
|
|
"start:watch": "nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.test.ts' --exec ts-node src/server/index.ts",
|
|
"typeorm": "ts-node ./node_modules/.bin/typeorm"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^3.0.0",
|
|
"@types/body-parser": "^1.17.0",
|
|
"@types/cls-hooked": "^4.2.1",
|
|
"@types/config": "0.0.34",
|
|
"@types/csurf": "^1.9.35",
|
|
"@types/es6-shim": "^0.31.39",
|
|
"@types/express": "^4.16.0",
|
|
"@types/express-session": "^1.15.11",
|
|
"@types/http-errors": "^1.6.1",
|
|
"@types/jest": "^23.3.12",
|
|
"@types/node": "^10.12.18",
|
|
"@types/passport": "^1.0.0",
|
|
"@types/passport-local": "^1.0.33",
|
|
"@types/react": "^16.7.18",
|
|
"@types/react-dom": "^16.0.11",
|
|
"@types/react-redux": "^6.0.12",
|
|
"@types/shortid": "0.0.29",
|
|
"@types/std-mocks": "^1.0.0",
|
|
"@types/supertest": "^2.0.7",
|
|
"@types/uuid": "^3.4.4",
|
|
"browserify": "^16.2.3",
|
|
"buildfile": "^1.2.17",
|
|
"jest": "^23.6.0",
|
|
"loose-envify": "^1.4.0",
|
|
"nodemon": "^1.18.9",
|
|
"npm-run-all": "^4.1.5",
|
|
"std-mocks": "^1.0.1",
|
|
"supertest": "^3.3.0",
|
|
"terser": "^3.14.1",
|
|
"ts-jest": "^23.10.5",
|
|
"ts-node": "^7.0.1",
|
|
"tsify": "^4.0.1",
|
|
"tslint": "^5.12.0",
|
|
"typescript": "^3.2.2",
|
|
"typescript-tslint-plugin": "^0.2.1",
|
|
"watchify": "^3.11.0"
|
|
},
|
|
"dependencies": {
|
|
"bcrypt": "^3.0.3",
|
|
"body-parser": "^1.18.3",
|
|
"cls-hooked": "^4.2.2",
|
|
"config": "^3.0.1",
|
|
"csurf": "^1.9.0",
|
|
"email-validator": "^2.0.4",
|
|
"express": "^4.16.4",
|
|
"express-session": "^1.15.6",
|
|
"http-errors": "^1.7.1",
|
|
"js-yaml": "^3.12.1",
|
|
"passport": "^0.4.0",
|
|
"passport-google": "^0.3.0",
|
|
"passport-local": "^1.0.0",
|
|
"react": "^16.7.0",
|
|
"react-dom": "^16.7.0",
|
|
"react-redux": "^6.0.0",
|
|
"redux": "^4.0.1",
|
|
"reflect-metadata": "^0.1.12",
|
|
"shortid": "^2.2.14",
|
|
"sqlite3": "^4.0.4",
|
|
"typeorm": "^0.2.11",
|
|
"uuid": "^3.3.2",
|
|
"winston": "^3.1.0"
|
|
}
|
|
}
|