UNPKG

react-modal-construction-kit

Version:
146 lines (145 loc) 4.73 kB
{ "name": "react-modal-construction-kit", "version": "2.0.7", "description": "A flexible Modal component kit for React", "main": "./lib/index.js", "module": "./es/index.js", "jsnext:main": "./es/index.js", "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/mikevercoelen/react-modal-construction-kit.git" }, "scripts": { "analyze": "webpack src/index.js dist/react-modal-construction-kit.js -p --bail --profile --json > stats.json && webpack-bundle-analyzer stats.json", "build": "npm run build:lib && npm run build:es && npm run build:umd && npm run build:umd:min", "build:lib": "babel src --out-dir lib --ignore __tests__", "build:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore __tests__", "build:umd": "cross-env NODE_ENV=development webpack --env.development ./src/index.js --output-filename=react-modal-construction-kit.js", "build:umd:min": "cross-env NODE_ENV=production webpack --env.production ./src/index.js --output-filename=react-modal-construction-kit.min.js", "dev": "npm-watch", "clean": "rimraf dist lib es dist-examples", "lint": "eslint src", "lint:fix": "eslint src --fix", "precommit": "lint-staged", "prepublishOnly": "npm run lint:fix && npm run test:cov && npm run clean && npm run build && npm run deploy", "test": "cross-env NODE_ENV=test jest --runInBand", "test:watch": "npm test -- --watch", "test:cov": "npm run test -- --coverage", "examples": "cross-env NODE_ENV=development webpack-dev-server --config=./examples/webpack.config.js", "examples:build": "cross-env NODE_ENV=production webpack --config=./examples/webpack.config.js", "deploy": "npm run examples:build && gulp deploy" }, "watch": { "build": "src/**/*.js" }, "keywords": [ "react", "modal", "modal-construction-kit", "react-modal", "redux-modal", "component" ], "author": "Mike Vercoelen <mike.vercoelen@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/mikevercoelen/react-modal-construction-kit/issues" }, "homepage": "https://github.com/mikevercoelen/react-modal-construction-kit#readme", "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.2.2", "babel-jest": "^22.4.3", "babel-loader": "^7.1.4", "babel-plugin-istanbul": "^4.1.5", "babel-plugin-syntax-async-functions": "^6.13.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-plugin-transform-react-jsx-source": "^6.22.0", "babel-plugin-transform-regenerator": "^6.26.0", "babel-preset-es2015-no-commonjs": "^0.0.2", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "babel-register": "^6.26.0", "codecov.io": "^0.1.6", "cross-env": "^5.1.4", "css-loader": "^0.28.11", "eslint": "^4.19.1", "eslint-config-standard": "^11.0.0", "eslint-config-standard-react": "^6.0.0", "eslint-plugin-babel": "^5.0.0", "eslint-plugin-import": "^2.10.0", "eslint-plugin-jest": "^21.15.0", "eslint-plugin-node": "^6.0.1", "eslint-plugin-promise": "^3.7.0", "eslint-plugin-react": "^7.7.0", "eslint-plugin-standard": "^3.0.1", "flux-standard-action": "^2.0.1", "gulp": "^3.9.1", "gulp-gh-pages": "^0.5.4", "html-webpack-plugin": "^3.2.0", "husky": "^0.14.3", "jest": "^22.4.3", "lint-staged": "^7.0.3", "node-sass": "^4.8.3", "npm-watch": "^0.3.0", "react": "^16.3.1", "react-dom": "^16.3.1", "react-transition-group": "^2.3.0", "rifraf": "^2.0.3", "rimraf": "^2.6.2", "sass-loader": "^6.0.7", "stringstream": "^0.0.5", "style-loader": "^0.20.3", "tmp": "0.0.33", "webpack": "^4.5.0", "webpack-bundle-analyzer": "^2.11.1", "webpack-cli": "^2.0.13", "webpack-dev-server": "^3.1.1", "prop-types": "^15.6.1" }, "peerDependencies": { "react": "^15.0.0-0 || ^16.0.0-0", "react-dom": "^15.0.0-0 || ^16.0.0-0", "react-transition-group": "^2.3.0" }, "files": [ "README.md", "es", "lib", "dist" ], "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "jest": { "collectCoverageFrom": [ "src/**/*.js", "!src/**/__tests__/**/*.js" ], "coverageReporters": [ "text", "lcov", "html" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/dist/" ], "testRegex": "__tests__/.*\\.spec\\.js$", "testEnvironment": "jsdom" }, "npmName": "react-modal-construction-kit", "npmFileMap": [ { "basePath": "/dist/", "files": [ "*.js" ] } ] }