Skip to content

Commit 24bc35a

Browse files
committed
chore: added make browser task
1 parent 6baf09d commit 24bc35a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ build-dist:
1111
build-test: test/fetch/api.spec.js
1212
npx tsc
1313

14+
browser:
15+
./bin/server --exec "npx open-cli http://localhost:8000/test/fetch/browser/"
16+
1417
commitlint: node_modules
1518
npx commitlint --from origin/main --to HEAD --verbose
1619

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"mocha-headless-chrome": "3.1.0",
9191
"nock": "13.0.11",
9292
"nyc": "15.1.0",
93+
"open-cli": "6.0.1",
9394
"ora": "5.4.0",
9495
"rollup": "2.44.0",
9596
"rollup-plugin-copy": "3.4.0",
@@ -102,7 +103,8 @@
102103
"typescript": "4.2.3",
103104
"webpack": "5.28.0",
104105
"webpack-cli": "4.6.0",
105-
"whatwg-fetch": "3.0.0"
106+
"whatwg-fetch": "3.0.0",
107+
"yargs": "17.0.1"
106108
},
107109
"files": [
108110
"dist",

0 commit comments

Comments
 (0)