2024-08-23 17:05:10 +02:00
|
|
|
{
|
|
|
|
"name": "svrjs-build",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2024-11-09 13:20:02 +01:00
|
|
|
"build": "npm run clean && NODE_ENV=production node esbuild.config.js",
|
2024-09-01 21:43:19 +02:00
|
|
|
"cz": "cz",
|
2024-11-09 13:20:02 +01:00
|
|
|
"clean": "rimraf dist && rimraf out && rimraf generatedAssets",
|
2024-11-09 13:31:31 +01:00
|
|
|
"dev": "npm run clean && concurrently \"NODE_ENV=development node esbuild.config.js\" \"wait-on dist/svr.js && nodemon dist/svr.js --stdout-notty --no-save-config\"",
|
2024-09-20 06:27:28 +02:00
|
|
|
"lint": "eslint --no-error-on-unmatched-pattern src/**/*.js src/*.js tests/**/*.test.js tests/**/*.js tests/*.test.js tests/*.js",
|
2024-08-23 17:05:10 +02:00
|
|
|
"lint:fix": "npm run lint -- --fix",
|
2024-09-01 21:43:19 +02:00
|
|
|
"prepare": "husky",
|
2024-08-23 17:21:52 +02:00
|
|
|
"start": "node dist/svr.js",
|
2024-08-30 22:11:16 +02:00
|
|
|
"test": "jest",
|
2024-08-30 22:18:22 +02:00
|
|
|
"test:coverage": "jest --coverage",
|
2024-08-30 22:11:16 +02:00
|
|
|
"test:middleware": "jest tests/middleware",
|
2024-09-01 21:43:19 +02:00
|
|
|
"test:utils": "jest tests/utils"
|
2024-08-23 17:05:10 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-09-01 21:39:58 +02:00
|
|
|
"@commitlint/cli": "^19.4.1",
|
|
|
|
"@commitlint/config-conventional": "^19.4.1",
|
2024-08-23 17:05:10 +02:00
|
|
|
"@eslint/js": "^9.9.0",
|
2024-08-23 17:18:18 +02:00
|
|
|
"archiver": "^7.0.1",
|
2024-11-09 13:20:02 +01:00
|
|
|
"chokidar": "^4.0.1",
|
2024-09-01 21:43:19 +02:00
|
|
|
"commitizen": "^4.3.0",
|
2024-11-09 13:20:02 +01:00
|
|
|
"concurrently": "^9.1.0",
|
2024-09-01 21:43:19 +02:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2024-08-23 17:05:10 +02:00
|
|
|
"ejs": "^3.1.10",
|
|
|
|
"esbuild": "^0.23.1",
|
|
|
|
"esbuild-plugin-copy": "^2.1.1",
|
|
|
|
"eslint": "^9.9.0",
|
|
|
|
"eslint-config-prettier": "^9.1.0",
|
2024-08-23 17:43:37 +02:00
|
|
|
"eslint-plugin-jest": "^28.8.0",
|
2024-08-23 17:05:10 +02:00
|
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
|
|
"globals": "^15.9.0",
|
2024-09-01 21:39:58 +02:00
|
|
|
"husky": "^9.1.5",
|
2024-08-23 17:05:10 +02:00
|
|
|
"jest": "^29.7.0",
|
2024-09-01 21:58:58 +02:00
|
|
|
"lint-staged": "^15.2.10",
|
2024-08-30 22:11:16 +02:00
|
|
|
"node-mocks-http": "^1.15.1",
|
2024-11-09 13:20:02 +01:00
|
|
|
"nodemon": "^3.1.7",
|
|
|
|
"prettier": "^3.3.3",
|
|
|
|
"rimraf": "^5.0.10",
|
|
|
|
"wait-on": "^8.0.1"
|
2024-08-25 10:23:37 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-08-25 15:40:53 +02:00
|
|
|
"formidable": "^2.1.2",
|
|
|
|
"mime-types": "^2.1.35",
|
2024-08-25 17:59:52 +02:00
|
|
|
"ocsp": "^1.2.0",
|
2024-08-25 15:40:53 +02:00
|
|
|
"tar": "^6.2.1"
|
2024-09-01 21:43:19 +02:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
}
|
2024-08-23 17:05:10 +02:00
|
|
|
}
|
|
|
|
}
|