react-viewer/package.json
2018-07-30 10:45:03 +08:00

69 lines
1.8 KiB
JSON

{
"name": "react-viewer",
"version": "2.5.2",
"description": "react image viewer",
"main": "dist/index",
"scripts": {
"test": "npm run lint",
"start": "dora --port 8001 --plugins \"webpack,webpack-hmr,browser-history?index=/demo/index.html\"",
"lint": "tslint -c tslint.json src/**/*.ts src/**/*.tsx",
"build": "atool-build --config webpack.config.prop.js && gulp",
"doc": "atool-build --config webpack.config.doc.js",
"pub": "npm run build && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/infeng/react-viewer.git"
},
"keywords": [
"react",
"image",
"viewer"
],
"author": "infeng",
"license": "MIT",
"bugs": {
"url": "https://github.com/infeng/react-viewer/issues"
},
"files": [
"dist",
"lib"
],
"typings": "lib/index.d.ts",
"homepage": "https://github.com/infeng/react-viewer#readme",
"devDependencies": {
"@types/node": "^6.0.45",
"@types/react": "^0.14.39",
"@types/react-dom": "^0.14.17",
"antd": "^3.7.1",
"atool-build": "^1.0.2",
"babel-plugin-import": "^1.2.1",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-runtime": "^6.11.6",
"dora": "^0.4.5",
"dora-plugin-browser-history": "^0.2.0",
"dora-plugin-webpack": "^1.0.0",
"dora-plugin-webpack-hmr": "^0.2.1",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-typescript": "^3.0.2",
"html-loader": "^0.4.4",
"html-webpack-plugin": "^2.22.0",
"merge2": "^1.0.2",
"pre-commit": "^1.1.3",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"through2": "^2.0.1",
"tslint": "^3.15.1",
"typescript": "^2.6.2",
"webpack": "^1.13.2"
},
"dependencies": {
"classnames": "^2.2.5",
"rc-table": "^6.2.7"
},
"pre-commit": [
"lint"
]
}