package.json
{
"version": "1.0.0",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test",
"lint": "eslint src/* test/ --ext ts --ext tsx",
"prepublishOnly": "yarn build && yarn test"
},
"peerDependencies": {
"react": ">=16.8"
},
"prettier": {
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"name": "react-tiny-modal",
"author": "Adam Trager <we.have@unfinished.business> (https://unfinished.business)",
"description": "A super tiny, fully typed, zero dependency modal.",
"keywords": [
"react",
"reactjs",
"typescript",
"tiny",
"modal"
],
"repository": {
"type": "git",
"url": "https://github.com/nfinished/react-tiny-modal.git"
},
"module": "dist/react-tiny-modal.esm.js",
"devDependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.4",
"@types/react": "^16.9.50",
"@types/react-dom": "^16.9.8",
"autoprefixer": "^9.8.6",
"cssnano": "^4.1.10",
"husky": "^4.3.0",
"identity-obj-proxy": "^3.0.0",
"lint-staged": "^10.4.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rollup-plugin-filesize": "^9.0.2",
"rollup-plugin-postcss": "^3.1.8",
"tsdx": "^0.14.0",
"typescript": "^4.0.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{ts,tsx}": [
"eslint --fix --max-warnings=0"
]
}
}