chore(development): add dev mode, update packages and test framework
This commit is contained in:
32
package.json
32
package.json
@@ -20,7 +20,7 @@
|
||||
"contributors": [],
|
||||
"bugs": {},
|
||||
"engines": {
|
||||
"node": ">= 16.19.1"
|
||||
"node": ">= 24"
|
||||
},
|
||||
"feathers": {
|
||||
"language": "ts",
|
||||
@@ -39,16 +39,15 @@
|
||||
},
|
||||
"main": "lib/index",
|
||||
"scripts": {
|
||||
"dev": "nodemon -x ts-node src/index.ts",
|
||||
"dev": "cross-env NODE_ENV=development nodemon -x ts-node src/index.ts",
|
||||
"compile": "shx rm -rf lib/ && tsc",
|
||||
"start": "node lib/",
|
||||
"prettier": "npx prettier \"**/*.ts\" --write",
|
||||
"mocha": "cross-env NODE_ENV=test mocha test/ --require ts-node/register --recursive --extension .ts --exit",
|
||||
"test": "npm run mocha",
|
||||
"bundle:client": "npm run compile && npm pack --pack-destination ./public"
|
||||
"vitest": "vitest run",
|
||||
"test": "npm run vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@faker-js/faker": "^8.0.2",
|
||||
"@faker-js/faker": "^10.1.0",
|
||||
"@feathersjs/adapter-commons": "^5.0.8",
|
||||
"@feathersjs/authentication": "^5.0.8",
|
||||
"@feathersjs/authentication-client": "^5.0.8",
|
||||
@@ -61,11 +60,10 @@
|
||||
"@feathersjs/transport-commons": "^5.0.8",
|
||||
"axios": "^1.4.0",
|
||||
"compression": "^1.7.4",
|
||||
"config": "^3.3.9",
|
||||
"config": "^4.1.1",
|
||||
"connect-redis": "^7.1.0",
|
||||
"cookie-parser": "^1.4.6",
|
||||
"express-session": "^1.17.3",
|
||||
"ioredis": "^5.3.2",
|
||||
"openid-client": "^5.6.5",
|
||||
"redis": "^4.6.7",
|
||||
"winston": "^3.10.0"
|
||||
@@ -76,23 +74,21 @@
|
||||
"@types/cookie-parser": "^1.4.3",
|
||||
"@types/express-session": "^1.17.7",
|
||||
"@types/jsdom": "^27.0.0",
|
||||
"@types/mocha": "^10.0.1",
|
||||
"@types/node": "^20.4.5",
|
||||
"@types/redis": "^4.0.11",
|
||||
"@types/node": "^25.0.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"husky": "^8.0.3",
|
||||
"cross-env": "^10.1.0",
|
||||
"husky": "^9.1.7",
|
||||
"jsdom": "^27.0.1",
|
||||
"lint-staged": "^13.2.3",
|
||||
"mocha": "^10.2.0",
|
||||
"lint-staged": "^16.2.7",
|
||||
"nodemon": "^3.0.1",
|
||||
"prettier": "^3.0.0",
|
||||
"shx": "^0.3.4",
|
||||
"shx": "^0.4.0",
|
||||
"sinon": "^21.0.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^5.1.6"
|
||||
"typescript": "^5.1.6",
|
||||
"vitest": "^4.0.15"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,js,css,md}": "prettier --write"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user