-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
40 lines (40 loc) · 1.33 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
37
38
39
40
{
"name": "module-linker",
"version": "0.0.0",
"private": true,
"license": "MIT",
"main": "github.js",
"dependencies": {
"delay": "^1.3.1",
"index-of-regex": "^1.0.0",
"lodash.endswith": "^4.0.0",
"lodash.startswith": "^4.0.0",
"resolve-pathname": "^2.0.2",
"xtend": "^4.0.1"
},
"browserify": {
"transform": [
[
"bubleify",
{
"transforms": {
"dangerousTaggedTemplateString": true
},
"objectAssign": "xtend",
"sourceMap": true
}
]
]
},
"devDependencies": {
"browserify": "11.0.1",
"browserify-incremental": "^3.0.1",
"bubleify": "^0.7.0"
},
"scripts": {
"watch": "ls *.js languages/*.js | entr browserifyinc -vd github.js -o dist/full.js",
"build": "mkdir -p dist && browserifyinc github.js --outfile dist/full.js && cp background.js dist/",
"pack": "rm -fr tmp/ && npm run build && mkdir -p tmp && cp -r dist vendor tmp/ && cp icon128.png icon64.png icon48.png icon16.png manifest.json options.html options.js root.css links.css tmp/ && cd tmp/ && zip -r archive * && mv archive.zip ../ && cd ..",
"pack-sources": "rm -fr tmpsrc/ && mkdir -p tmpsrc && cp -r icon* *.html languages *.js *.json *.css vendor tmpsrc/ && cd tmpsrc/ && zip -r sources * && mv sources.zip ../ && cd .."
}
}