@devp0nt/error0 1.0.0-next.21 → 1.0.0-next.22
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 +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devp0nt/error0",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.22",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sergei Dmitriev",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"LICENSE"
|
|
33
33
|
],
|
|
34
34
|
"scripts": {
|
|
35
|
-
"dev": "tsc-watch --preserveWatchOutput --project tsconfig.build.json
|
|
35
|
+
"dev": "tsc-watch --preserveWatchOutput --project tsconfig.build.json",
|
|
36
|
+
"dev:npm": "tsc-watch --preserveWatchOutput --project tsconfig.build.json --onSuccess 'bun run pack:dist'",
|
|
36
37
|
"build": "tsup",
|
|
37
38
|
"build:test:esm": "tsup --outDir dist-test/esm --tsconfig tsconfig.build.test.json --format esm src",
|
|
38
39
|
"build:test:esm:watch": "bun run build:test:esm --watch",
|
|
@@ -68,9 +69,10 @@
|
|
|
68
69
|
"types:dev": "tsc --noEmit",
|
|
69
70
|
"types": "bun run types:dev",
|
|
70
71
|
"pack:dry": "npm pack --dry-run",
|
|
71
|
-
"pack:dist": "
|
|
72
|
+
"pack:dist": "mkdir -p dist-npm && npm pack --pack-destination dist-npm --silent && cd dist-npm && tar -xzf *.tgz && cp -r package/* . && rm -rf package && rm *.tgz",
|
|
73
|
+
"pack:dist:hard": "rimraf dist-npm && bun run pack:dist",
|
|
72
74
|
"prepare": "husky",
|
|
73
|
-
"clean": "rimraf dist && rimraf dist-test && rimraf node_modules/.cache"
|
|
75
|
+
"clean": "rimraf dist && rimraf dist-test && rimraf dist-npm && rimraf node_modules/.cache"
|
|
74
76
|
},
|
|
75
77
|
"dependencies": {},
|
|
76
78
|
"peerDependencies": {
|