react-morphing-modal
Version:
React morphing modal! The easiest way to be fancy!
75 lines (74 loc) • 2.3 kB
JSON
{
"name": "react-morphing-modal",
"version": "0.2.2",
"license": "MIT",
"description": "React morphing modal! The easiest way to be fancy!",
"keywords": [
"react",
"modal",
"dialog",
"react-component",
"react-morphing-modal",
"react-dialog",
"react-modal",
"morphing"
],
"main": "dist/index.js",
"module": "dist/react-morphing-modal.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"scss"
],
"scripts": {
"start": "concurrently -k -p[{name}] -n '🚀 Js,🦄 Style, 🛠 Example' -c 'yellow,magenta,blue' 'npm run watch-js' 'npm run watch-style' 'npm run watch-example'",
"watch-js": "tsdx watch",
"watch-style": "node-sass-chokidar scss/main.scss dist/ReactMorphingModal.css --watch --skip-initial",
"watch-example": "cd example && npm run start",
"clean": "rimraf dist/*",
"prebuild": "npm run test && npm run clean",
"build": "tsdx build && npm run style",
"test": "tsdx test --env=jsdom",
"test:coverage": "tsdx test --env=jsdom --coverage && cat ./coverage/lcov.info | coveralls",
"sass": "node-sass-chokidar scss/main.scss dist/ReactMorphingModal.css",
"postsass": "postcss dist/ReactMorphingModal.css --use autoprefixer -m -o dist/ReactMorphingModal.css",
"mincss": "postcss dist/ReactMorphingModal.css --use cssnano -o dist/ReactMorphingModal.min.css",
"style": "npm run sass && npm run mincss",
"gh-pages": "cd example && npm run deploy"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"devDependencies": {
"@testing-library/react": "^8.0.4",
"@types/jest": "^24.0.15",
"@types/react": "^16.8.22",
"@types/react-dom": "^16.8.4",
"autoprefixer": "^9.6.0",
"concurrently": "^4.1.1",
"coveralls": "^3.0.4",
"cssnano": "^4.1.10",
"husky": "^2.7.0",
"node-sass-chokidar": "^1.3.5",
"postcss-cli": "^6.1.2",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rimraf": "^2.6.3",
"tsdx": "^0.7.2",
"tslib": "^1.10.0",
"typescript": "^3.5.2"
}
}