Skip to content

Commit e8bb9f8

Browse files
committed
chore: drop some dependencies and simplify
No change to logic. This drops support for some of the package commands that I never run. We can trim out a few dependencies this way. This also adds `npm run build` as a step in CI since I realized this probably wasn't actually ever tested on CI.
1 parent 3bb21d9 commit e8bb9f8

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
node-version: ${{ matrix.node-version }}
2525
- run: npm install
2626
- run: npm run test
27+
- run: npm run build
2728
- run: npm run check-node-support
2829
- name: Upload coverage reports to Codecov
2930
uses: codecov/codecov-action@v4

package.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,14 @@
1212
"check-node-support": "node scripts/check-node-support",
1313
"prebuild": "rimraf lib",
1414
"build": "babel src -d lib",
15-
"build:watch": "npm run build -- -w",
16-
"dev": "concurrently -rk 'npm run build:watch' 'npm run lint:watch'",
1715
"lint": "eslint .",
18-
"lint:fix": "npm run lint --silent -- --fix",
19-
"lint:watch": "watch 'npm run lint --silent' src test",
2016
"prepublish": "npm run build",
21-
"posttest": "npm run lint --silent",
17+
"posttest": "npm run lint",
2218
"release:major": "shelljs-release major",
2319
"release:minor": "shelljs-release minor",
2420
"release:patch": "shelljs-release patch",
2521
"changelog": "shelljs-changelog",
26-
"test": "nyc --reporter=text --reporter=lcov mocha",
27-
"test:watch": "concurrently -rk 'npm run test --silent -- -w' 'npm run lint:watch'"
22+
"test": "nyc --reporter=text --reporter=lcov mocha"
2823
},
2924
"repository": {
3025
"type": "git",
@@ -54,7 +49,6 @@
5449
"babel-cli": "^6.6.5",
5550
"babel-preset-env": "^1.7.0",
5651
"babel-register": "^6.7.2",
57-
"concurrently": "^5.3.0",
5852
"eslint": "^5.16.0",
5953
"eslint-config-airbnb-base": "^14.2.1",
6054
"eslint-import-resolver-node": "0.3.7",
@@ -66,8 +60,7 @@
6660
"shelljs-changelog": "^0.2.6",
6761
"shelljs-plugin-open": "^0.3.0",
6862
"shelljs-release": "^0.5.2",
69-
"should": "^13.2.3",
70-
"watch": "^1.0.2"
63+
"should": "^13.2.3"
7164
},
7265
"dependencies": {
7366
"minimist": "^1.2.6",

0 commit comments

Comments
 (0)