@zero-bits/taro-components 1.0.1 → 1.0.2
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 +1 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zero-bits/taro-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Taro components and utilities",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -13,18 +13,6 @@
|
|
|
13
13
|
"lib",
|
|
14
14
|
"es"
|
|
15
15
|
],
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "father build && npx tsc --emitDeclarationOnly --outDir lib && npx tsc --emitDeclarationOnly --outDir es",
|
|
18
|
-
"clean": "rm -rf lib && rm -rf es",
|
|
19
|
-
"prebuild": "npm run clean",
|
|
20
|
-
"build:cjs-css": "npx tailwindcss -i ./src/styles/index.css -o ./lib/styles/index.css",
|
|
21
|
-
"build:es-css": "npx tailwindcss -i ./src/styles/index.css -o ./es/styles/index.css",
|
|
22
|
-
"build:css": "npm run build:cjs-css && npm run build:es-css",
|
|
23
|
-
"build:watch": "father dev",
|
|
24
|
-
"obfuscate:es": "javascript-obfuscator ./es --output ./es --compact true --control-flow-flattening true --dead-code-injection false --debug-protection false --disable-console-output false --identifier-names-generator hexadecimal --rename-globals false --string-array true --string-array-encoding base64 --string-array-threshold 0.75 --transform-object-keys true --unicode-escape-sequence false --exclude '**/*.d.ts'",
|
|
25
|
-
"obfuscate:cjs": "javascript-obfuscator ./lib --output ./lib --compact true --control-flow-flattening true --dead-code-injection false --debug-protection false --disable-console-output false --identifier-names-generator hexadecimal --rename-globals false --string-array true --string-array-encoding base64 --string-array-threshold 0.75 --transform-object-keys true --unicode-escape-sequence false --exclude '**/*.d.ts'",
|
|
26
|
-
"build:all": "npm run build && npm run build:css && npm run obfuscate:es && npm run obfuscate:cjs"
|
|
27
|
-
},
|
|
28
16
|
"publishConfig": {
|
|
29
17
|
"access": "public",
|
|
30
18
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -76,13 +64,5 @@
|
|
|
76
64
|
},
|
|
77
65
|
"dependencies": {
|
|
78
66
|
"classnames": "^2.3.0"
|
|
79
|
-
},
|
|
80
|
-
"devDependencies": {
|
|
81
|
-
"@types/node": "^26.1.1",
|
|
82
|
-
"@types/react": "^18.0.0",
|
|
83
|
-
"javascript-obfuscator": "^5.5.0",
|
|
84
|
-
"father": "^4.6.15",
|
|
85
|
-
"tailwindcss": "^3.4.17",
|
|
86
|
-
"typescript": "^5.9.3"
|
|
87
67
|
}
|
|
88
68
|
}
|