59 lines
1.7 KiB
JSON
59 lines
1.7 KiB
JSON
|
{
|
||
|
"name": "jwt-test",
|
||
|
"version": "1.0.0",
|
||
|
"description": "",
|
||
|
"main": "./server/index.js",
|
||
|
"scripts": {
|
||
|
"run:ts": "ts-node ./src/development.ts",
|
||
|
"clean": "rm -rf dist",
|
||
|
"prebuild": "rimraf ./server",
|
||
|
"test:js": "mocha test/**/*.js",
|
||
|
"test:ts": "mocha -r ts-node/register test/**/*.ts",
|
||
|
"lint": "eslint . --ext .ts",
|
||
|
"coverage": "nyc npm run test:js",
|
||
|
"build:js": "rollup -c rollup.config.js",
|
||
|
"compile:es": "tsc --declaration true --declarationMap true --module esnext --outDir './server/es'",
|
||
|
"compile:commonjs": "tsc --declaration true --declarationMap true --module commonjs --outDir './server/commonjs'",
|
||
|
"compile:ts": "tsc --outDir './server'",
|
||
|
"compile": "npm run prebuild && npm run compile:es && npm run compile:commonjs"
|
||
|
},
|
||
|
"keywords": [],
|
||
|
"author": "",
|
||
|
"license": "ISC",
|
||
|
"dependencies": {
|
||
|
"@types/dotenv": "^8.2.0",
|
||
|
"@types/helmet": "^4.0.0",
|
||
|
"@types/joi": "^17.2.3",
|
||
|
"@types/sqlite3": "^3.1.7",
|
||
|
"cors": "^2.8.5",
|
||
|
"dotenv": "^8.2.0",
|
||
|
"express": "^4.17.1",
|
||
|
"express-session": "^1.17.1",
|
||
|
"fecha": "^4.2.0",
|
||
|
"helmet": "^4.4.1",
|
||
|
"joi": "^17.4.0",
|
||
|
"jsonfile": "^6.1.0",
|
||
|
"jsonwebtoken": "^8.5.1",
|
||
|
"lodash": "^4.17.21",
|
||
|
"log4js": "^6.3.0",
|
||
|
"mongoose": "^5.10.11",
|
||
|
"morgan": "^1.10.0",
|
||
|
"short-hash": "^1.0.0",
|
||
|
"sqlite3": "^5.0.2"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/cors": "^2.8.10",
|
||
|
"@types/express": "^4.17.8",
|
||
|
"@types/express-session": "^1.17.0",
|
||
|
"@types/jsonwebtoken": "^8.5.0",
|
||
|
"@types/morgan": "^1.9.2",
|
||
|
"eslint": "^7.21.0",
|
||
|
"prettier": "^2.2.1",
|
||
|
"rimraf": "^3.0.2",
|
||
|
"rollup": "^2.33.1",
|
||
|
"ts-node": "^9.0.0",
|
||
|
"typescript": "^4.0.5",
|
||
|
"typings": "^2.1.1"
|
||
|
}
|
||
|
}
|