@ywfe/fe-tools 1.0.2-beta.13 → 1.0.2-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/{lib/ywfe-tools.esm.js → dist/bundle.js} +155 -100
- package/dist/bundle.js.map +1 -0
- package/package.json +17 -20
- package/index.ts +0 -2
- package/jest.config.js +0 -12
- package/lib/index.d.ts +0 -2
- package/lib/request.d.ts +0 -9
- package/lib/userInputToJson.d.ts +0 -8
- package/lib/ywfe-tools.cjs.js +0 -8782
- package/lib/ywfe-tools.cjs.js.map +0 -1
- package/lib/ywfe-tools.esm.js.map +0 -1
- package/request.ts +0 -49
- package/rollup.config.js +0 -73
- package/tsconfig.json +0 -10
- package/tsconfig.type.json +0 -8
- package/userInputToJson.ts +0 -18
package/package.json
CHANGED
@@ -1,30 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"private": false,
|
3
2
|
"name": "@ywfe/fe-tools",
|
4
|
-
"version": "1.0.2-beta.
|
3
|
+
"version": "1.0.2-beta.2",
|
5
4
|
"description": "工具函数库",
|
6
|
-
"main": "./
|
7
|
-
"module": "./
|
5
|
+
"main": "./dist/bundle.js",
|
6
|
+
"module": "./dist/bundle.js",
|
8
7
|
"type": "module",
|
8
|
+
"files": [
|
9
|
+
"dist"
|
10
|
+
],
|
9
11
|
"scripts": {
|
10
12
|
"build": "rollup -c",
|
11
|
-
"
|
12
|
-
"prepublishOnly": "npm run build && npm run build:type",
|
13
|
-
"test": "jest --coverage"
|
13
|
+
"prepublishOnly": "npm run build"
|
14
14
|
},
|
15
|
-
"
|
16
|
-
|
17
|
-
"
|
18
|
-
"email": "ywfe@ywwl.com",
|
19
|
-
"url": "http://ywfe.com"
|
15
|
+
"publishConfig": {
|
16
|
+
"access": "public",
|
17
|
+
"registry": "https://registry.npmjs.org/"
|
20
18
|
},
|
21
|
-
"license": "MIT",
|
22
19
|
"dependencies": {
|
23
|
-
"
|
24
|
-
"ramda": "^0.27.1",
|
25
|
-
"strtok3": "^6.3.0",
|
26
|
-
"token-types": "^4.2.0",
|
27
|
-
"uuid": "^8.3.2"
|
20
|
+
"@ywfe/utils": "^0.10.74"
|
28
21
|
},
|
29
|
-
"
|
30
|
-
|
22
|
+
"devDependencies": {
|
23
|
+
"typescript": "^5.4.5"
|
24
|
+
},
|
25
|
+
"author": "",
|
26
|
+
"license": "ISC"
|
27
|
+
}
|
package/index.ts
DELETED
package/jest.config.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
preset: 'ts-jest',
|
3
|
-
testEnvironment: 'jsdom',
|
4
|
-
moduleFileExtensions: ['js', 'jsx', 'json', 'ts', 'tsx'],
|
5
|
-
rootDir: '.',
|
6
|
-
roots: ['<rootDir>/src/'],
|
7
|
-
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?|ts?)$',
|
8
|
-
transform: {
|
9
|
-
'^.+\\.(t|j)s$': 'ts-jest',
|
10
|
-
'^.+\\.(t|j)sx$': 'ts-jest',
|
11
|
-
},
|
12
|
-
};
|
package/lib/index.d.ts
DELETED
package/lib/request.d.ts
DELETED