40 lines
1.3 KiB
JSON
40 lines
1.3 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"
|
|
},
|
|
"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",
|
|
"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"
|
|
},
|
|
"main": "src/index.js",
|
|
"types": "src/index.d.ts"
|
|
}
|