33 "version" : " 3.1.18" ,
44 "scripts" : {
55 "clean" : " rimraf dist" ,
6- "check" : " eslint . --fix" ,
6+ "check" : " eslint . --fix && pnpm test:coverage " ,
77 "prebuild" : " npm run clean && npm run check" ,
88 "build" : " tsc && node ./post-build.mjs" ,
9+ "pub" : " PUBLISH=true pnpm run build" ,
910 "pub:patch" : " PUBLISH=true PUBLISH_VERSION=patch pnpm run build" ,
1011 "pub:minor" : " PUBLISH=true PUBLISH_VERSION=minor pnpm run build" ,
11- "pub:major" : " PUBLISH=true PUBLISH_VERSION=major pnpm run build"
12+ "pub:major" : " PUBLISH=true PUBLISH_VERSION=major pnpm run build" ,
13+ "test" : " vitest run" ,
14+ "test:watch" : " vitest watch" ,
15+ "test:coverage" : " vitest run --coverage" ,
16+ "dev" : " pnpm test:watch"
1217 },
1318 "keywords" : [
1419 " mobx" ,
3742 "linked-abort-controller" : " 1.0.2"
3843 },
3944 "devDependencies" : {
45+ "@testing-library/react" : " 16.0.1" ,
46+ "@types/lodash-es" : " ^4.17.12" ,
4047 "@types/node" : " 20.14.5" ,
48+ "@types/react" : " ^18.3.3" ,
49+ "@vitejs/plugin-react-swc" : " 3.7.2" ,
50+ "@vitest/coverage-istanbul" : " 2.1.6" ,
4151 "eslint" : " 8.57.0" ,
4252 "js2me-exports-post-build-script" : " 2.0.17" ,
43- "js2me-eslint-config" : " 1.0.4" ,
44- "typescript" : " 5.4.5"
53+ "jsdom" : " 25.0.1" ,
54+ "js2me-eslint-config" : " 1.0.5" ,
55+ "typescript" : " 5.4.5" ,
56+ "vitest" : " 2.1.4"
4557 },
4658 "packageManager" :
" [email protected] +sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903" 4759}
0 commit comments