All tools now check the abort signal before executing and throw "Operation aborted" error if the signal is already aborted. This ensures consistent abort behavior across all tools.
67 lines
1.4 KiB
JSON
67 lines
1.4 KiB
JSON
{
|
|
"name": "example",
|
|
"version": "1.0.0",
|
|
"description": "A JSON file formatted with tabs",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"start": "node index.js",
|
|
"dev": "nodemon index.js",
|
|
"build": "tsc",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write .",
|
|
"clean": "rm -rf dist node_modules"
|
|
},
|
|
"keywords": [
|
|
"example",
|
|
"json",
|
|
"tabs",
|
|
"nodejs",
|
|
"typescript",
|
|
"api"
|
|
],
|
|
"author": "Assistant",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/example/example-repo.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/example/example-repo/issues"
|
|
},
|
|
"homepage": "https://github.com/example/example-repo#readme",
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=9.0.0"
|
|
},
|
|
"dependencies": {
|
|
"express": "^4.18.0",
|
|
"dotenv": "^16.0.3",
|
|
"axios": "^1.6.0",
|
|
"lodash": "^4.17.21",
|
|
"mongoose": "^8.0.0",
|
|
"redis": "^4.6.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"bcrypt": "^5.1.1",
|
|
"winston": "^3.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"@types/express": "^4.17.21",
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"typescript": "^5.3.3",
|
|
"nodemon": "^3.0.2",
|
|
"eslint": "^8.55.0",
|
|
"prettier": "^3.1.1",
|
|
"vitest": "^1.0.4",
|
|
"supertest": "^6.3.3"
|
|
},
|
|
"config": {
|
|
"port": 3000,
|
|
"env": "development"
|
|
},
|
|
"private": false
|
|
}
|