-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
47 lines (47 loc) · 1.65 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
41
42
43
44
45
46
47
{
"name": "usco-obj-parser",
"version": "1.0.1",
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/usco/usco-obj-parser.git"
},
"main": "lib/server/index.js",
"browser": "lib/browser/obj-parser.js",
"dependencies": {
"composite-detect": "0.0.3",
"fast.js": "^0.1.1",
"rx": "^4.0.7"
},
"devDependencies": {
"assert": "^1.3.0",
"mocha": "^2.3.4",
"babel-core": "^6.2.1",
"babel-cli": "^6.6.5",
"babel-preset-es2015": "^6.1.18",
"babelify": "^7.2.0",
"browserify": "^12.0.1",
"browserify-shim": "^3.8.11",
"workerify": "^0.3.0"
},
"scripts": {
"browserify": "browserify src/index.js -t babelify -t workerify -t browserify-shim --standalone obj-parser --exclude rx --outfile lib/browser/obj-parser.js",
"mocha": "mocha specs --compilers js:babel-core/register",
"test": "npm run mocha",
"build-brs": "npm run browserify",
"build-srv": "babel -d lib/server src/",
"build": "npm run build-srv && npm run build-brs",
"release": "npm run release-patch",
"release-patch": "git checkout master && npm run build; git commit -a -m 'chore(dist): built release/'; npm version patch && git push origin master --tags ",
"release-minor": "git checkout master && npm run build; git commit -a -m 'chore(dist): built release/'; npm version minor && git push origin master --tags ",
"release-major": "git checkout master && npm run build; git commit -a -m 'chore(dist): built release/'; npm version major && git push origin master --tags "
},
"browserify-shim": {
"rx": "global:Rx"
},
"browserify": {
"transform": [
"babelify"
]
}
}