a-js-tools 0.0.1 → 0.0.3
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/package.json +15 -6
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
&label=version&labelColor=rgb(73,73,228)&color=rgb(0,0,0)>) &color=rgb(0,0,0)>) &color=rgb(0,0,0)>) &labelColor=rgb(194,112,210)&color=rgb(0,0,0)>) &color=rgb(0,0,0)>)
|
|
4
4
|
|
|
5
|
-
&labelColor=rgb(255,165,0)&color=rgb(0,0,0)>) &color=rgb(0,0,0)>)
|
|
5
|
+
&labelColor=rgb(255,165,0)&color=rgb(0,0,0)>) &color=rgb(0,0,0)>) [](https://coveralls.io/github/earthnutDev/a-js-tools?branch=main) [](https://codecov.io/gh/earthnutDev/a-js-tools)
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"name": "a-js-tools",
|
|
5
5
|
"main": "cjs/index.cjs",
|
|
6
6
|
"module": "mjs/index.mjs",
|
|
@@ -18,10 +18,14 @@
|
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"b": "rollup --config rollup.config.js && tsc -p tsconfig.types.json",
|
|
21
|
-
"build": "npx ixxx rm dist run b",
|
|
22
|
-
"
|
|
21
|
+
"build": "npx ixxx rm dist && npm run b",
|
|
22
|
+
"build:deploy": "bash -c 'git add . && git commit -m \"version: ${1+ }$1 $(date +\"%Y-%m-%d %H:%M:%S\")${2:+ }$2\" && git push origin main' -- ",
|
|
23
|
+
"build:submit": "bash -c 'git add . && git commit -m \"submit: $(date +\"%Y-%m-%d %H:%M:%S\")${1:+ }$1\" && git push origin main' -- ",
|
|
24
|
+
"clean": "npx ixxx up -d r node_modules package-lock.json && npm install && npm run build",
|
|
23
25
|
"prettier": "npx prettier . --write",
|
|
24
|
-
"test": "npx ixxx clear && npx
|
|
26
|
+
"test": "npx ixxx clear && npx jest --coverage",
|
|
27
|
+
"coverage": "codecov",
|
|
28
|
+
"report": "cat ./coverage/lcov.info | coveralls",
|
|
25
29
|
"versionPatch": "npm version patch --force --no-git-tag-version --allow-same-version=true",
|
|
26
30
|
"pub": "npm run build && cd dist && npm publish && cd ../"
|
|
27
31
|
},
|
|
@@ -48,8 +52,7 @@
|
|
|
48
52
|
"registry": "https://registry.npmjs.org/"
|
|
49
53
|
},
|
|
50
54
|
"dependencies": {
|
|
51
|
-
"a-type-of-js": "^0.0.
|
|
52
|
-
"tslib": "^2.6.3"
|
|
55
|
+
"a-type-of-js": "^0.0.5"
|
|
53
56
|
},
|
|
54
57
|
"devDependencies": {
|
|
55
58
|
"@babel/core": "^7.26.9",
|
|
@@ -65,16 +68,22 @@
|
|
|
65
68
|
"@types/jest": "^29.5.14",
|
|
66
69
|
"@types/node": "^20.14.9",
|
|
67
70
|
"babel-jest": "^29.7.0",
|
|
71
|
+
"codecov": "^3.8.2",
|
|
72
|
+
"coveralls": "^3.1.1",
|
|
68
73
|
"eslint": "^8.57.0",
|
|
69
74
|
"eslint-config-prettier": "^9.1.0",
|
|
70
75
|
"expect": "^29.7.0",
|
|
71
76
|
"globals": "^15.7.0",
|
|
72
77
|
"jest": "^29.7.0",
|
|
78
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
79
|
+
"jest-junit": "^16.0.0",
|
|
73
80
|
"prettier": "^3.3.2",
|
|
81
|
+
"rollup": "^4.35.0",
|
|
74
82
|
"rollup-plugin-cleanup": "^3.2.1",
|
|
75
83
|
"rollup-plugin-copy": "^3.5.0",
|
|
76
84
|
"ts-jest": "^29.2.6",
|
|
77
85
|
"ts-node": "^10.9.2",
|
|
86
|
+
"tslib": "^2.6.3",
|
|
78
87
|
"typescript": "^5.5.3",
|
|
79
88
|
"typescript-eslint": "^7.15.0"
|
|
80
89
|
}
|