-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.72 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
{
"name": "@zcorky/previewer",
"version": "1.0.0",
"description": "Simply image preview.",
"main": "lib/index.js",
"jsnext:main": "lib/index.esm.js",
"module": "lib/index.esm.js",
"scripts": {
"clean": "rm -rf ./lib",
"lint": "eslint src",
"copy": "cp -rf lib example",
"build:example": "cd example && umi build",
"build:self": "rollup -c config/rollup.config.js",
"build:esm": "rollup -c config/rollup.config.esm.js",
"build:umd": "rollup -c config/rollup.config.umd.js",
"build": "npm run clean && npm run build:self && npm run build:esm && npm run build:umd",
"test": "npm run lint && mocha -R spec --compilers js:babel-register",
"release": "npm run test && git commit -am $npm_package_version && git tag $npm_package_version && git push origin master && git push --tags",
"deploy": "npm run build && gh-pages -d example/dist"
},
"author": "zcorky",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/zcorky/previewer.git"
},
"bugs": {
"url": "https://github.com/zcorky/previewer/issues"
},
"devDependencies": {
"babel-core": "6.26.0",
"babel-eslint": "^8.2.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.6.1",
"chai": "^4.1.2",
"es5-shim": "4.5.10",
"eslint": "4.18.2",
"expect.js": "0.3.1",
"gh-pages": "^2.0.1",
"mocha": "3.5.3",
"rollup": "0.57.1",
"rollup-plugin-babel": "3.0.3",
"rollup-plugin-commonjs": "8.3.0",
"rollup-plugin-node-resolve": "3.0.3",
"rollup-plugin-uglify": "^3.0.0"
},
"dependencies": {
"@zcorky/dom": "^0.0.3",
"babel-runtime": "6.26.0"
},
"files": [
"lib"
]
}