-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.13 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
48
49
50
51
52
53
54
{
"name": "rijs.minimal",
"version": "0.1.1",
"main": "dist",
"author": "Pedram Emrouznejad (https://github.com/pemrouz)",
"license": "pemrouz.mit-license.org",
"repository": {
"type": "git",
"url": "git://github.com/pemrouz/ripple.git"
},
"scripts": {
"babel": "babel src -d dist",
"build": "npm run clean && npm run babel && npm run ignore && npm run build:pure && npm run bundle && npm run minify && npm run gzip",
"build:pure": "npm run bundle:pure && npm run minify:pure",
"bundle": "sh -c 'echo \"require(\\'utilise\\');$(cat dist/index.js)\" | browserify - -g ./clientify -i **/pause.js -i **/via.js -i **/send.js -i **/grep.js -i colors --no-builtins | uglifyjs - -o dist/ripple.js -c unused,dead_code -b",
"bundle:pure": "browserify dist/index.js -g ./purify -i **/utilise/**/*.js --no-builtins -i colors | uglifyjs - -o dist/ripple.pure.js -c unused,dead_code -b",
"clean": "rm -rf dist && mkdir dist",
"gzip": "gzip -c dist/ripple.min.js > dist/ripple.min.js.gz && gzip -c dist/ripple.pure.min.js > dist/ripple.pure.min.js.gz",
"ignore": "find ./dist -type f -exec sed -i \"s/function _interopRequire/\\/* istanbul ignore next *\\/\\nfunction _interopRequire/g\" {} ;",
"minify": "uglifyjs dist/ripple.js -m -c keep_fargs=false -o dist/ripple.min.js --screw-ie8",
"minify:pure": "uglifyjs dist/ripple.pure.js -m -c keep_fargs=false -o dist/ripple.pure.min.js --screw-ie8",
"version": "npm run build && git add -A",
"postversion": "git push && git push --tags"
},
"dependencies": {
"rijs.components": "*",
"rijs.core": "*",
"rijs.css": "*",
"rijs.data": "*",
"rijs.features": "*",
"rijs.fn": "*",
"rijs.helpers": "*",
"rijs.precss": "*",
"rijs.shadow": "*",
"rijs.singleton": "*",
"rijs.versioned": "*",
"utilise": "*"
},
"devDependencies": {
"babel-cli": "*",
"babel-preset-es2015": "*",
"browserify": "^13.1.1",
"chai": "*",
"coveralls": "*",
"glob": "*",
"istanbul": "*",
"mocha": "*",
"mocha-lcov-reporter": "*",
"mockery": "*",
"popper": "*",
"rijs.export": "0.0.9",
"uglify-js": "*"
}
}