@technomoron/api-server-base 2.0.0-beta.20 → 2.0.0-beta.21
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/package.json +7 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@technomoron/api-server-base",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.21",
|
|
4
4
|
"description": "Api Server Skeleton / Base Class",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.cjs",
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
"scrub": "rm -rf ./node_modules/ pnpm-lock.yaml ./dist/",
|
|
54
54
|
"build:cjs": "tsc --project tsconfig/tsconfig.cjs.json && node scripts/prepare-cjs.cjs",
|
|
55
55
|
"build:esm": "tsc --project tsconfig/tsconfig.esm.json",
|
|
56
|
-
"build": "
|
|
56
|
+
"build": "run-s build:cjs build:esm",
|
|
57
57
|
"test": "vitest run",
|
|
58
58
|
"test:unit": "vitest run tests/unit",
|
|
59
59
|
"test:functional": "vitest run tests/functional",
|
|
60
60
|
"test:watch": "vitest --watch",
|
|
61
|
-
"prepublishOnly": "
|
|
61
|
+
"prepublishOnly": "run-s build:cjs build:esm",
|
|
62
62
|
"lint": "eslint --no-error-on-unmatched-pattern --ext .js,.cjs,.mjs,.ts,.mts,.tsx,.vue,.json ./",
|
|
63
63
|
"lintfix": "eslint --fix --no-error-on-unmatched-pattern --ext .js,.cjs,.mjs,.ts,.mts,.tsx,.vue,.json ./",
|
|
64
|
-
"format": "
|
|
65
|
-
"cleanbuild": "rm -rf ./dist/ &&
|
|
64
|
+
"format": "run-s lintfix pretty",
|
|
65
|
+
"cleanbuild": "rm -rf ./dist/ && run-s format build",
|
|
66
66
|
"pretty": "prettier --write \"**/*.{js,jsx,cjs,mjs,ts,tsx,mts,vue,json,md}\"",
|
|
67
67
|
"lintconfig": "node lintconfig.cjs"
|
|
68
68
|
},
|
|
@@ -97,7 +97,8 @@
|
|
|
97
97
|
"sqlite3": "^5.1.7",
|
|
98
98
|
"supertest": "^7.2.2",
|
|
99
99
|
"typescript": "^5.9.3",
|
|
100
|
-
"vitest": "^4.0.18"
|
|
100
|
+
"vitest": "^4.0.18",
|
|
101
|
+
"npm-run-all": "^4.1.5"
|
|
101
102
|
},
|
|
102
103
|
"peerDependencies": {
|
|
103
104
|
"mysql2": "^3.16.0",
|