@ws-ui/formatter 0.1.29 → 1.6.0
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/README.md +1 -1
- package/dist/duration.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +6124 -5913
- package/dist/index.es.js.map +1 -1
- package/package.json +7 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/formatter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "A module for formatting text, dates and numbers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -10,38 +10,19 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
+
"prepack": "npm run build",
|
|
14
|
+
"build": "vite build && tsc",
|
|
15
|
+
"test": "vitest --run",
|
|
13
16
|
"test:watch": "vitest --watch",
|
|
14
17
|
"test:debug": "node --inspect-brk node_modules/.bin/vitest --runInBand",
|
|
15
|
-
"
|
|
16
|
-
"postbuild": "yalc push --changed",
|
|
17
|
-
"bundle": "node ./scripts/bundle.js",
|
|
18
|
-
"test": "vitest",
|
|
19
|
-
"lint": "eslint .",
|
|
20
|
-
"format": "prettier --write src/**/*.ts && npm run lint -- --fix",
|
|
21
|
-
"prepack": "npm run build"
|
|
22
|
-
},
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "git@git-ps.wakanda.io:4d/web-studio/formatter.git"
|
|
18
|
+
"publish": "npm publish --access public"
|
|
26
19
|
},
|
|
27
20
|
"author": "",
|
|
28
21
|
"license": "MIT",
|
|
29
22
|
"devDependencies": {
|
|
30
|
-
"@swc/cli": "0.1.63",
|
|
31
|
-
"@swc/core": "^1.3.100",
|
|
32
|
-
"@swc/jest": "^0.2.29",
|
|
33
|
-
"@types/node": "^20.10.3",
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
|
35
|
-
"@typescript-eslint/parser": "^6.4.0",
|
|
36
|
-
"eslint": "^8.47.0",
|
|
37
|
-
"jest": "^29.6.2",
|
|
38
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
39
|
-
"prettier": "^3.0.2",
|
|
40
23
|
"typescript": "^5.1.6",
|
|
41
24
|
"vite": "^5.2.12",
|
|
42
|
-
"
|
|
43
|
-
"vitest": "^1.6.0",
|
|
44
|
-
"yalc": "^1.0.0-pre.53"
|
|
25
|
+
"vitest": "^1.6.0"
|
|
45
26
|
},
|
|
46
27
|
"dependencies": {
|
|
47
28
|
"numfmt": "^2.5.2"
|
|
@@ -49,4 +30,4 @@
|
|
|
49
30
|
"peerDependencies": {
|
|
50
31
|
"date-fns": "^2"
|
|
51
32
|
}
|
|
52
|
-
}
|
|
33
|
+
}
|