fix(package): correct package entry point extension and align test scripts with pnpm
This commit is contained in:
+3
-3
@@ -3,7 +3,7 @@
|
||||
"private": false,
|
||||
"version": "2.14.1",
|
||||
"description": "A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.",
|
||||
"main": "dist_ts/index.ts",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
@@ -11,11 +11,11 @@
|
||||
"gzone": "./cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "(npm run clean && npm run prepareTest && npm run testCli && npm run testFormat && npm run testCommit && npm run testDeprecate && npm run testVersion && npm run testReadme && npm run testUpdate && npm run testTemplateNpm && npm run testTemplateLit) && rm -rf test",
|
||||
"test": "(pnpm run clean && pnpm run prepareTest && pnpm run testCli && pnpm run testFormat && pnpm run testCommit && pnpm run testDeprecate && pnpm run testVersion && pnpm run testReadme && pnpm run testUpdate && pnpm run testTemplateNpm && pnpm run testTemplateLit) && rm -rf test",
|
||||
"build": "tsbuild tsfolders",
|
||||
"clean": "(rm -rf test/)",
|
||||
"prepareTest": "(git clone https://gitlab.com/sandboxzone/sandbox-npmts.git test/)",
|
||||
"testBuild": "npm run build && rm -r dist/",
|
||||
"testBuild": "pnpm run build && rm -r dist/",
|
||||
"testCli": "(cd test && node ../cli.ts.js)",
|
||||
"testCommit": "(cd test && node ../cli.ts.js commit)",
|
||||
"testDeprecate": "(cd test && node ../cli.ts.js deprecate)",
|
||||
|
||||
Reference in New Issue
Block a user