@nyig/models 0.2.0 → 0.2.1
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/.husky/pre-commit +0 -0
- package/package.json +12 -8
package/.husky/pre-commit
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyig/models",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
10
|
+
"clean": "rm -rf dist node_modules",
|
|
11
|
+
"format": "prettier --write src",
|
|
12
|
+
"lint": "pnpm run format && tsc",
|
|
13
|
+
"prepare": "husky install",
|
|
14
|
+
"release": "pnpm run build && changeset publish"
|
|
15
|
+
},
|
|
8
16
|
"peerDependencies": {
|
|
9
17
|
"zod": ">=3.22.4"
|
|
10
18
|
},
|
|
@@ -19,11 +27,7 @@
|
|
|
19
27
|
"lint-staged": {
|
|
20
28
|
"*.{js,ts,md}": "prettier --write"
|
|
21
29
|
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"clean": "rm -rf dist node_modules",
|
|
25
|
-
"format": "prettier --write src",
|
|
26
|
-
"lint": "pnpm run format && tsc",
|
|
27
|
-
"release": "pnpm run build && changeset publish"
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"directory": "dist"
|
|
28
32
|
}
|
|
29
|
-
}
|
|
33
|
+
}
|