Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 92 lines (91 sloc) 2.92 KB
{
"name": "react-content-loader",
"version": "3.1.2",
"description": "React component that uses SVG to create a collection of loaders which simulates the structure of the content that will be loaded, similar to Facebook cards loaders.",
"repository": {
"type": "git",
"url": "https://github.com/danilowoz/react-content-loader"
},
"author": "Danilo Woznica",
"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": {
"watch": "npm run build -- --watch",
"build": "rollup -c",
"deploy": "rm -fr ./dist && npm run build && npm publish",
"lint": "eslint 'src/**/*.js'",
"prettier": "prettier --write 'src/**/*.{js,jsx,json,css}'",
"testonly": "cross-env NODE_ENV=test mocha $npm_package_options_mocha",
"test": "npm run lint && npm run testonly && npm run flow",
"test-watch": "npm run testonly -- --watch --watch-extensions js",
"storybook": "start-storybook -p 6006",
"flow": "flow",
"precommit": "npm run lint",
"prepush": "npm run test",
"coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --compilers js:babel-register tests/**/*.js"
},
"devDependencies": {
"@storybook/react": "^3.1.9",
"babel-core": "^6.7.4",
"babel-eslint": "^8.0.2",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-es2015-modules-umd": "^6.6.5",
"babel-polyfill": "^6.7.4",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-2": "^6.5.0",
"chai": "^4.1.2",
"chai-enzyme": "^1.0.0-beta.0",
"cross-env": "^5.1.3",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"eslint": "^4.12.0",
"eslint-config-prettier": "^2.4.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-react": "^7.5.1",
"flow-bin": "^0.59.0",
"husky": "^0.14.3",
"istanbul": "^0.4.5",
"jsdom": "11.6.0",
"jsdom-global": "3.0.2",
"mocha": "^4.0.1",
"nodemon": "^1.9.1",
"nyc": "^11.4.1",
"prettier": "^1.6.1",
"react": "^16.1.1",
"react-addons-test-utils": "^15.0.0",
"react-dom": "^16.1.1",
"rollup": "0.53",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1"
},
"peerDependencies": {
"react": "^15.0.0-0 || ^16.0.0-0"
},
"dependencies": {}
}