File tree Expand file tree Collapse file tree 3 files changed +53
-2
lines changed
src/template/base/config/packages/@projectName@ Expand file tree Collapse file tree 3 files changed +53
-2
lines changed Original file line number Diff line number Diff line change 3232 "ejs" : " ^3.1.10" ,
3333 "npm-run-all2" : " ^7.0.2" ,
3434 "prompts" : " ^2.4.2" ,
35+ "publint" : " ^0.3.8" ,
3536 "rimraf" : " ^6.0.1" ,
3637 "tsup" : " ^8.3.6" ,
3738 "typescript" : " ^5.7.3"
3839 },
3940 "scripts" : {
4041 "clean" : " rimraf dist LICENSE README.md" ,
4142 "type-check" : " tsc" ,
43+ "lint:package" : " publint" ,
4244 "build:copy" : " copyfiles -f ../../LICENSE ../../README.md ." ,
4345 "build:templates" : " copyfiles -u 1 -a \" src/template/**\" dist" ,
4446 "build:ts" : " tsup src/index.ts --format cjs --target node18" ,
45- "build" : " run-s clean build:copy build:templates build:ts" ,
47+ "build" : " run-s clean build:copy build:templates build:ts lint:package " ,
4648 "start" : " node ./dist/index.cjs" ,
4749 "preinstall" : " npx only-allow pnpm"
4850 }
Original file line number Diff line number Diff line change 5151 "cross-env": "^7.0.3",
5252 "jsdom": "^26.0.0",
5353 "npm-run-all2": "^7.0.2",
54+ "publint": "^0.3.8",
5455 "rimraf": "^5.0.1",
5556 "typescript": "~5.8.0",
5657 "vite": "^6.2.1",
6970 " coverage" : " vitest run --coverage --environment jsdom" ,
7071 < % _ } _%>
7172 "type-check": "vue-tsc --build",
73+ "lint:package": "publint",
7274 "build:copy": "copyfiles -f ../../README.md .",
7375 "build:dev": "cross-env NODE_ENV=development vite build --mode development",
7476 "build:neutral": "vite build --mode neutral",
7577 "build:prod": "vite build --mode production",
76- "build": "run-s clean:dist build:* type-check"
78+ "build": "run-s clean:dist build:* type-check lint:package "
7779 }
7880}
You can’t perform that action at this time.
0 commit comments