-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
36 lines (36 loc) · 1.49 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"name": "precise-links",
"version": "1.0.2",
"description": "Enables creating and resolving links to specific pieces of text in a page.",
"scripts": {
"build": "npm run build-content-script && npm run build-background-script",
"watch": "npm run watch-content-script | : | npm run watch-background-script",
"build-content-script": "browserify -o extension/content_script.js src/content_script.js",
"watch-content-script": "watchify -o extension/content_script.js src/content_script.js -v",
"build-background-script": "browserify -o extension/background_script.js src/background_script.js",
"watch-background-script": "watchify -o extension/background_script.js src/background_script.js -v",
"fx-build": "web-ext build -s extension -a dist && rename -f 's/\\.zip$/.xpi/' dist/*.zip",
"fx-run": "web-ext run -s extension",
"cr-build": "crx pack extension -o dist/precise-links.crx -p chrome-extension-key.pem"
},
"devDependencies": {
"babel-preset-es2015": "^6.24.1",
"babelify": "^7.3.0",
"browserify": "^14.3.0",
"crx": "^3.2.1",
"watchify": "^3.9.0",
"web-ext": "^1.9.1"
},
"dependencies": {
"dom-anchor-selector": "git+https://github.com/Treora/dom-anchor-selector.git#f0b52c4",
"escape-html": "^1.0.3",
"scroll-into-view": "^1.8.0",
"selector-state-frags": "git+https://github.com/Treora/selector-state-frags.git#51fe53d",
"webextension-polyfill": "^0.1.1"
},
"browserify": {
"transform": [
"babelify"
]
}
}