node-server-engine 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mocharc.json +5 -0
- package/package.json +4 -3
- package/tsconfig.test.json +14 -0
package/.mocharc.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-server-engine",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "Framework used to develop backend services. This package ships with a lot of features to standardize the creation of services, letting you focus on the business logic.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"lint:fix": "eslint ./src --fix",
|
|
12
12
|
"prepublish": "npm run build",
|
|
13
13
|
"prepublishOnly": "npm run build",
|
|
14
|
-
"test": "cross-env NODE_ENV=test nyc --reporter=
|
|
15
|
-
"test:file": "cross-env NODE_ENV=test nyc --reporter=
|
|
14
|
+
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=tsconfig.test.json nyc --reporter=text --no-clean mocha --require ts-node/register --require tsconfig-paths/register --reporter spec test/hooks.ts 'src/**/*.test.ts'",
|
|
15
|
+
"test:file": "cross-env NODE_ENV=test TS_NODE_PROJECT=tsconfig.test.json nyc --reporter=text --no-clean mocha --require ts-node/register --require tsconfig-paths/register --reporter spec test/hooks.ts",
|
|
16
16
|
"coverage": "nyc report --report-dir=./.test-coverage --reporter=html --reporter=text",
|
|
17
17
|
"coverage:ci": "nyc report --reporter=text-summary",
|
|
18
18
|
"test:ci": "npm run test -- --reporter spec",
|
|
@@ -152,6 +152,7 @@
|
|
|
152
152
|
"ts-node": "^10.9.2",
|
|
153
153
|
"tsc-alias": "^1.8.10",
|
|
154
154
|
"tsconfig-paths": "^4.2.0",
|
|
155
|
+
"tsx": "^4.21.0",
|
|
155
156
|
"typescript": "^5.7.2",
|
|
156
157
|
"typescript-eslint": "^8.18.1"
|
|
157
158
|
}
|