forked from staltz/rxmarbles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
44 lines (44 loc) · 2.35 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
{
"name": "rxmarbles",
"version": "1.4.1",
"author": "Andre Staltz",
"repository": {
"type": "git",
"url": "[email protected]:staltz/rxmarbles.git"
},
"license": "BSD 3-Clause",
"private": true,
"main": "js/app.js",
"dependencies": {
"@cycle/core": "1.0.x",
"@cycle/dom": "3.1.x",
"immutable": "^3.7.2",
"rxtween": "0.3.3"
},
"devDependencies": {
"browserify": "10.1.3",
"less": "^2.5.0",
"uglify-js": "~2.4.21",
"watchify": "~3.2.1",
"babel": "^5.2.7"
},
"scripts": {
"preinstall": "rm -rf build && rm -rf node_modules && mkdir -p ignore/es5src",
"postinstall": "ln -s ../ignore/es5src node_modules/rxmarbles && ln -s ../package.json node_modules/package.json",
"less": "lessc styles/main.less dist/css/main.css",
"babel": "mkdir -p ignore/es5src && babel src --out-dir ignore/es5src",
"browserify": "browserify -e ignore/es5src/app.js --outfile dist/js/app.js",
"browserify-element": "browserify -e ignore/es5src/element.js --outfile dist/js/element.js",
"build": "npm run less && npm run babel && npm run browserify",
"build-production": "npm run less && npm run babel && npm run browserify && npm run uglify",
"build-element": "npm run less && npm run babel && npm run browserify-element",
"build-element-production": "npm run less && npm run babel && npm run browserify-element && npm run uglify-element",
"uglify": "uglifyjs dist/js/app.js -o dist/js/app.js",
"uglify-element": "uglifyjs dist/js/element.js -o dist/js/element.js",
"update-gh-pages": "git checkout gh-pages && git merge --no-ff -X theirs master && git push origin gh-pages && git checkout master",
"release": "npm run release-patch",
"release-patch": "git checkout master && npm version patch && npm run build-production && npm run build-element-production && git commit -a -m 'Build dist/' && git push origin master --tags && npm run update-gh-pages",
"release-minor": "git checkout master && npm version minor && npm run build-production && npm run build-element-production && git commit -a -m 'Build dist/' && git push origin master --tags && npm run update-gh-pages",
"release-major": "git checkout master && npm version major && npm run build-production && npm run build-element-production && git commit -a -m 'Build dist/' && git push origin master --tags && npm run update-gh-pages"
}
}