mirror of
https://github.com/zhigang1992/react-content-loader.git
synced 2026-03-28 22:46:40 +08:00
82 lines
2.4 KiB
JSON
Executable File
82 lines
2.4 KiB
JSON
Executable File
{
|
|
"name": "react-content-loader",
|
|
"version": "3.1.2",
|
|
"description": "SVG component to create placeholder loading, like Facebook cards loading.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/danilowoz/react-content-loader"
|
|
},
|
|
"author": "Danilo Woznica <danilowoz@gmail.com>",
|
|
"license": "MIT",
|
|
"main": "dist/react-content-loader.cjs.js",
|
|
"module": "dist/react-content-loader.es.js",
|
|
"jsnext:main": "dist/react-content-loader.es.js",
|
|
"bugs": {
|
|
"url": "https://github.com/danilowoz/react-content-loader/issues"
|
|
},
|
|
"homepage": "https://github.com/danilowoz/react-content-loader",
|
|
"keywords": [
|
|
"react",
|
|
"facebook-style",
|
|
"loader",
|
|
"loading",
|
|
"content",
|
|
"svg"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"sideEffects": false,
|
|
"options": {
|
|
"mocha": "--require scripts/mocha_runner ./tests/**/*.js ./tests/*.js"
|
|
},
|
|
"scripts": {
|
|
"dev": "start-storybook -p 6006",
|
|
"build": "rollup -c",
|
|
"deploy": "rm -fr ./dist && npm run build && npm publish",
|
|
"test": "npm run lint && npm run testonly && npm run flow",
|
|
"test:watch": "npm run testonly -- --watch --watch-extensions js",
|
|
"testonly": "cross-env NODE_ENV=test mocha $npm_package_options_mocha",
|
|
"lint": "eslint 'src/**/*.js'",
|
|
"flow": "flow",
|
|
"precommit": "npm run lint",
|
|
"prepush": "npm run test"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.1.2",
|
|
"@babel/polyfill": "^7.0.0",
|
|
"@babel/preset-env": "^7.1.0",
|
|
"@babel/preset-flow": "^7.0.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/register": "^7.0.0",
|
|
"@babel/runtime": "^7.0.0",
|
|
"@storybook/react": "^3.4.11",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"chai": "^4.1.2",
|
|
"chai-enzyme": "^1.0.0-beta.0",
|
|
"cross-env": "^5.1.3",
|
|
"enzyme": "^3.6.0",
|
|
"enzyme-adapter-react-16": "^1.5.0",
|
|
"eslint": "^4.12.0",
|
|
"eslint-config-prettier": "^2.4.0",
|
|
"eslint-plugin-prettier": "^2.2.0",
|
|
"flow-bin": "^0.59.0",
|
|
"husky": "^0.14.3",
|
|
"jsdom": "11.6.0",
|
|
"jsdom-global": "3.0.2",
|
|
"mocha": "^4.0.1",
|
|
"prettier": "^1.6.1",
|
|
"react": "^16.1.1",
|
|
"react-dom": "^16.1.1",
|
|
"rollup": "0.66.4",
|
|
"rollup-plugin-babel": "^4.0.3",
|
|
"rollup-plugin-replace": "^2.0.0",
|
|
"rollup-plugin-uglify": "^6.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^15.0.0-0 || ^16.0.0-0"
|
|
},
|
|
"dependencies": {}
|
|
}
|