Skip to content

Commit

Permalink
chore: clean up scripts in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Apr 16, 2021
1 parent a28b29d commit b431f57
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,16 @@
"info": "npm-scripts-info",
"build": "trash dist && npm run build:main",
"build:main": "tsc -p tsconfig.json",
"build-examples": "npm run build && npm run build:examples",
"build:examples": "tsc -p tsconfig-examples.json",
"lint": "eslint . --ext .ts,.js",
"unit": "jest --forceExit --detectOpenHandles",
"unit:watch": "jest --watch",
"test": "npm run lint && npm run unit",
"test:integration": "npm run lint && jest --config=jest-integration.config.js",
"install-ci": "node scripts/install-ci.js",
"watch": "jest --watch",
"cov": "jest --coverage; 0 coverage/lcov-report/index.html",
"cov-open": "open-cli coverage/lcov-report/index.html",
"send-coverage": "jest && codecov",
"standard-version": "standard-version",
"release": "npm run reset-ci && npm run test && npm run changelog",
"reset-ci": "git clean -dfx && git reset --hard && npm run install-ci",
"validate:dependencies": "npm run audit --groups dependencies",
"validate:dev-dependencies": "npm run audit --groups devDependencies",
"release:bump-release": "npm run standard-version",
"release:bump-prerelease": "npm run standard-version --prerelease",
"build-record-test": "npm run build && rimraf ./deploy/xkeys-nodejs-test-recorder.exe && nexe dist/record-test.js -t windows-x64-12.18.1 -o ./deploy/xkeys-nodejs-test-recorder.exe && node scripts/copy-natives.js win32-x64"
},
"scripts-info": {
Expand All @@ -57,15 +51,12 @@
"lint": "Lint all typescript source files",
"unit": "Build the library and run unit tests",
"test": "Lint, build, and test the library",
"test:integration": "Integration tests. Work in progress",
"watch": "Watch source files, rebuild library on changes, rerun relevant tests",
"cov": "Run tests, generate the HTML coverage report, and open it in a browser",
"cov-open": "Open current test coverage",
"send-coverage": "send coverage to codecov",
"changelog": "Bump package.json version, update CHANGELOG.md, tag a release",
"release": "Clean, build, test and prepare release (a one-step publish process). Updates versions and creates git commits.",
"reset": "Delete all untracked files and reset the repo to the last commit",
"validate:dependencies": "Scan dependencies for vulnerabilities and check licenses"
"reset": "Delete all untracked files and reset the repo to the last commit"
},
"dependencies": {
"@types/node-hid": "^1.3.0",
Expand Down

0 comments on commit b431f57

Please sign in to comment.