Skip to content

Commit 501e325

Browse files
committedMay 17, 2017
Add build command for Chromium/Chrome.
1 parent 122996a commit 501e325

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
node_modules
22
extension/*.js
3+
dist
4+
chrome-extension-key.pem

‎package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010
"build-background-script": "browserify -o extension/background_script.js src/background_script.js",
1111
"watch-background-script": "watchify -o extension/background_script.js src/background_script.js -v",
1212
"fx-build": "web-ext build -s extension -a dist && rename -f 's/\\.zip$/.xpi/' dist/*.zip",
13-
"fx-run": "web-ext run -s extension"
13+
"fx-run": "web-ext run -s extension",
14+
"cr-build": "crx pack extension -o dist/precise-links.crx -p chrome-extension-key.pem"
1415
},
1516
"devDependencies": {
1617
"babel-preset-es2015": "^6.24.1",
1718
"babelify": "^7.3.0",
1819
"browserify": "^14.3.0",
20+
"crx": "^3.2.1",
1921
"watchify": "^3.9.0",
2022
"web-ext": "^1.9.1"
2123
},

0 commit comments

Comments
 (0)
Please sign in to comment.