-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
61 lines (61 loc) · 3.2 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
55
56
57
58
59
60
61
{
"name": "famous-carousel",
"version": "1.0.2",
"author": "Peace Chen",
"contributors": ["Tony Alves (https://github.com/talves)"],
"license": "MIT",
"description": "Carousel built on Famo.us",
"keywords": [ "famous", "famo.us", "carousel", "slider", "slideshow" ],
"repository": {
"type": "git",
"url": "git://github.com/peacechen/famous-carousel/"
},
"bugs": "https://github.com/peacechen/famous-carousel/issues",
"main": "dist/es5/index.js",
"scripts": {
"build": "npm run build-min && npm run build-global && npm run build-commonjs",
"build-min": "browserify src/index.js -g uglifyify | uglifyjs --screw-ie8 -m -c dead_code,sequences,conditionals,booleans,unused,if_return,join_vars,drop_debugger > dist/famous-carousel.min.js",
"build-global": "npm run build-globmin && npm run build-globdebug",
"build-globmin": "browserify src/index.js --standalone famousCarousel -g uglifyify | uglifyjs --screw-ie8 -m -c dead_code,sequences,conditionals,booleans,unused,if_return,join_vars,drop_debugger > dist/global/famous-carousel.min.js",
"build-globdebug": "browserify src/index.js -d --standalone famousCarousel > dist/global/famous-carousel.debug.js",
"build-commonjs": "browserify src/index.js -t [ babelify --modules common ] > dist/commonjs/famous-carousel.js",
"build-es5": "npm run build-es5-index && npm run build-es5-carousel && npm run build-es5-dots && npm run build-es5-arrow && npm run build-es5-pagers",
"build-es5-index": "babel src/index.js > dist/es5/index.js",
"build-es5-carousel": "babel src/Carousel.js > dist/es5/Carousel.js",
"build-es5-pagers": "npm run build-es5-pager && npm run build-es5-pager-align && npm run build-es5-pager-rotate && npm run build-es5-pager-position && npm run build-es5-pager-physics",
"build-es5-pager": "babel src/Pager.js > dist/es5/Pager.js",
"build-es5-pager-align": "babel src/PagerAlign.js > dist/es5/PagerAlign.js",
"build-es5-pager-rotate": "babel src/PagerRotate.js > dist/es5/PagerRotate.js",
"build-es5-pager-position": "babel src/PagerPosition.js > dist/es5/PagerPosition.js",
"build-es5-pager-physics": "babel src/PagerPhysics.js > dist/es5/PagerPhysics.js",
"build-es5-dots": "babel src/Dots.js > dist/es5/Dots.js",
"build-es5-arrow": "babel src/Arrow.js > dist/es5/Arrow.js",
"test": "npm run lint-jscs",
"lint-jscs": "jscs src/",
"lint-eslint": "eslint --ignore-path .gitignore src/",
"example": "npm run build-example && npm run build-example-global && npm run serve",
"build-example-global": "browserify src/index.js -d --standalone famousCarousel > example/famous-carousel.global.js",
"build-example": "browserify example/requireExample.js -d > example/example.js",
"serve": "node node_modules/serve/bin/serve example/ -p 8080"
},
"browserify": {
"transform": [
"babelify"
]
},
"devDependencies": {
"babel-preset-es2015": "^6.0.15",
"babelify": "^7.2.0",
"browserify": "^12.0.1",
"eslint": "^0.21.2",
"jscs": "^1.13.1",
"serve": "^9.2.0",
"uglify-js": "^2.4.15",
"uglifyify": "^3.0.1"
},
"dependencies": {
"babel-polyfill": "^6.0.16",
"famous": "git://github.com/peacechen/engine#af98b6c",
"lodash": "^4.13.1"
}
}