a-js-tools 0.0.1 → 0.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +12 -4
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ![version](<https://img.shields.io/npm/v/a-js-tools.svg?logo=npm&logoColor=rgb(0,0,0)&label=version&labelColor=rgb(73,73,228)&color=rgb(0,0,0)>) ![NPM Last Update](<https://img.shields.io/npm/last-update/a-js-tools?logo=npm&labelColor=rgb(255,36,63)&color=rgb(0,0,0)>) ![📦 size](<https://img.shields.io/bundlephobia/minzip/a-js-tools.svg?logo=npm&labelColor=rgb(201,158,140)&color=rgb(0,0,0)>) ![downloads](<https://img.shields.io/npm/dm/a-js-tools.svg?logo=npm&logoColor=rgb(0,0,0)&labelColor=rgb(194,112,210)&color=rgb(0,0,0)>) ![downloads](<https://img.shields.io/npm/dt/a-js-tools.svg?logo=npm&labelColor=rgb(107,187,124)&color=rgb(0,0,0)>)
4
4
 
5
- ![last commit](<https://img.shields.io/github/last-commit/earthnutDev/a-js-tools.svg?logo=github&logoColor=rgb(0,0,0)&labelColor=rgb(255,165,0)&color=rgb(0,0,0)>) ![GitHub commit activity](<https://img.shields.io/github/commit-activity/y/earthnutDev/a-js-tools.svg?logo=github&labelColor=rgb(128,0,128)&color=rgb(0,0,0)>)
5
+ ![last commit](<https://img.shields.io/github/last-commit/earthnutDev/a-js-tools.svg?logo=github&logoColor=rgb(0,0,0)&labelColor=rgb(255,165,0)&color=rgb(0,0,0)>) ![GitHub commit activity](<https://img.shields.io/github/commit-activity/y/earthnutDev/a-js-tools.svg?logo=github&labelColor=rgb(128,0,128)&color=rgb(0,0,0)>) [![Coverage Status](https://coveralls.io/repos/github/earthnutDev/a-js-tools/badge.svg?branch=main)](https://coveralls.io/github/earthnutDev/a-js-tools?branch=main) [![codecov](https://codecov.io/gh/earthnutDev/a-js-tools/branch/main/graph/badge.svg)](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.1",
3
+ "version": "0.0.2",
4
4
  "name": "a-js-tools",
5
5
  "main": "cjs/index.cjs",
6
6
  "module": "mjs/index.mjs",
@@ -17,11 +17,16 @@
17
17
  "types": "./types/index.d.ts"
18
18
  },
19
19
  "scripts": {
20
+ "a": "bash -c 'echo \"${1+ }$1a${2+ }$2\"' -- ",
20
21
  "b": "rollup --config rollup.config.js && tsc -p tsconfig.types.json",
21
22
  "build": "npx ixxx rm dist run b",
23
+ "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' -- ",
24
+ "build:submit": "bash -c 'git add . && git commit -m \"submit: $(date +\"%Y-%m-%d %H:%M:%S\")${1:+ }$1\" && git push origin main' -- ",
22
25
  "clean": "npx ixxx up -d r node_modules package-lock.json run npm install run build",
23
26
  "prettier": "npx prettier . --write",
24
- "test": "npx ixxx clear && npx jest",
27
+ "test": "npx ixxx clear && npx jest --coverage",
28
+ "coverage": "codecov",
29
+ "report": "cat ./coverage/lcov.info | coveralls",
25
30
  "versionPatch": "npm version patch --force --no-git-tag-version --allow-same-version=true",
26
31
  "pub": "npm run build && cd dist && npm publish && cd ../"
27
32
  },
@@ -48,8 +53,7 @@
48
53
  "registry": "https://registry.npmjs.org/"
49
54
  },
50
55
  "dependencies": {
51
- "a-type-of-js": "^0.0.2",
52
- "tslib": "^2.6.3"
56
+ "a-type-of-js": "^0.0.4"
53
57
  },
54
58
  "devDependencies": {
55
59
  "@babel/core": "^7.26.9",
@@ -65,16 +69,20 @@
65
69
  "@types/jest": "^29.5.14",
66
70
  "@types/node": "^20.14.9",
67
71
  "babel-jest": "^29.7.0",
72
+ "codecov": "^3.8.2",
73
+ "coveralls": "^3.1.1",
68
74
  "eslint": "^8.57.0",
69
75
  "eslint-config-prettier": "^9.1.0",
70
76
  "expect": "^29.7.0",
71
77
  "globals": "^15.7.0",
72
78
  "jest": "^29.7.0",
79
+ "jest-junit": "^16.0.0",
73
80
  "prettier": "^3.3.2",
74
81
  "rollup-plugin-cleanup": "^3.2.1",
75
82
  "rollup-plugin-copy": "^3.5.0",
76
83
  "ts-jest": "^29.2.6",
77
84
  "ts-node": "^10.9.2",
85
+ "tslib": "^2.6.3",
78
86
  "typescript": "^5.5.3",
79
87
  "typescript-eslint": "^7.15.0"
80
88
  }