-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
66 lines (66 loc) · 2.02 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
62
63
64
65
66
{
"name": "slider-js",
"description": "a nice slider",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "[email protected]:amfe/slider-js.git"
},
"author": [
{
"name": "terrykingcha",
"email": "[email protected]"
}
],
"license": "MIT",
"keywords": [
"lib",
"amfe",
"javascript",
"slider",
"carrousel",
"es6"
],
"scripts": {
"clear": "rm -rf dist coverage release",
"build": "rm -rf dist && babel src --out-dir dist && lessc src/index.less dist/index.css && css2js --css=dist/index.css --out=dist/index_css.js --template=vanilla_runner",
"bundle": "webpack --config webpack.config.js",
"dev": "npm run build && npm run bundle",
"watch": "watch -p \"src/**/*.js\" -c \"npm run dev\"",
"lint": "eslint --fix --config .eslintrc src/*.js test/*.js",
"test": "mocha --compilers js:babel-core/register test/*.js",
"cover": "babel-node node_modules/isparta/bin/isparta cover --report text node_modules/mocha/bin/_mocha test/**/*.js --reporter dot",
"ci": "npm run lint && npm run test",
"release": "npm run build && sh ./build/release.sh",
"site:update": "sh ./build/site.sh update",
"site:build": "sh ./build/site.sh build",
"site:watch": "watch -p \"doc/**/*.md\" -p \"README.md\" -c \"npm run site:build\"",
"site:serve": "sh ./build/site.sh serve",
"site:publish": "sh ./build/site.sh publish"
},
"dependencies": {
"amfe-cubicbezier": "^2.0.0",
"animation-js": "^0.1.1",
"gesturejs": "^0.1.0"
},
"devDependencies": {
"babel-cli": "~6.4.5",
"babel-core": "~6.4.5",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "~6.3.13",
"chai": "~3.4.1",
"css-loader": "^0.23.1",
"css2js": "^0.1.4",
"eslint": "~2.1.0",
"gitbook-cli": "~1.0.1",
"isparta": "~4.0.0",
"less": "^2.6.1",
"less-loader": "^2.2.3",
"mocha": "~2.4.5",
"serve": "~1.4.0",
"style-loader": "^0.13.1",
"watch-cli": "~0.2.1",
"webpack": "^1.13.0"
},
"main": "./src/index.js"
}