Skip to content

Commit 986695e

Browse files
committed
add test scripts
1 parent e8deb67 commit 986695e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"dev": "webextension-toolbox dev",
1212
"build": "webextension-toolbox build",
1313
"start:firefox": "web-ext run --source-dir=./dist/firefox/",
14-
"start:firefox:nr": "npm run start:firefox -- --no-reload"
14+
"start:firefox:nr": "npm run start:firefox -- --no-reload",
15+
"test": "npm run test:firefox",
16+
"test:firefox": "npm run build firefox && web-ext lint --source-dir=./dist/firefox/"
1517
},
1618
"repository": {
1719
"type": "git",

0 commit comments

Comments
 (0)