Skip to content

Commit

Permalink
fix test run
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro5id committed May 6, 2023
1 parent 1408e23 commit fd71cd0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"build-one-file-from-js": "npm run build && esbuild ./dist/src/index.js --bundle --minify --platform=node --packages=external --target=node18.12.1 --outfile=./dist/index.js --allow-overwrite && rimraf ./dist/src ./dist/test && npm run make-type-definitions",
"build-one-file-from-js-and-mangle": "npm run build-one-file-from-js && terser ./dist/index.js --compress --mangle --output ./dist/index.js",
"postbuild": "cp ./runkit-example.js ./dist/ ",
"test": "rimraf ./coverage && jest --silent && npm run coverage:badge",
"test": "jest --silent",
"test:typescript": "rimraf ./coverage && jest --silent && npm run coverage:badge",
"test:javascript": "jest --config=jest-for-js.config.js",
"coverage:badge": "coverage-badge-creator",
"clean": "rimraf ./dist ./node_modules",
Expand All @@ -67,7 +68,7 @@
"refresh-package-locks": "npm run clean && find . -iname package-lock.json -delete && npm install",
"install:prod": "npm ci",
"install:no-cache": "npm install --cache",
"preversion": "npm install husky@8.0.3 -g && npm run clean && npm run install:prod && npm run build-one-file-from-js-and-mangle && npm run test",
"preversion": "npm install husky@8.0.3 -g && npm run clean && npm run install:prod && npm run build-one-file-from-js-and-mangle && npm run test:typescript",
"prepublishOnly": "npm prune --production",
"deploy": "np",
"open-release-draft-last-version": "npx np --release-draft-only"
Expand All @@ -86,7 +87,7 @@
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/jest": "^29.2.5",
"@types/jest": "^29.5.1",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "5.48.1",
"@typescript-eslint/parser": "5.48.1",
Expand All @@ -96,13 +97,13 @@
"eslint": "8.31.0",
"eslint-plugin-unicorn": "45.0.2",
"husky": "8.0.3",
"jest": "^29.3.1",
"jest": "^29.5.0",
"np": "^7.6.3",
"npm-dts": "^1.3.12",
"prettier": "^2.8.2",
"rimraf": "^4.1.2",
"terser": "^5.16.1",
"ts-jest": "^29.0.4",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
}
Expand Down

0 comments on commit fd71cd0

Please sign in to comment.