@auraxy/react-modal
Version:
A react modal component
110 lines (109 loc) • 3.36 kB
JSON
{
"name": "@auraxy/react-modal",
"version": "2.1.6",
"description": "A react modal component",
"main": "./lib/umd/index.js",
"module": "./lib/es/index.js",
"unpkg": "./lib/umd/index.js",
"types": "./index.d.ts",
"scripts": {
"build:css": "cross-env NODE_ENV=production node-sass ./src/css/index.scss ./lib/css/index.css --output-style compressed && ncp ./src/css/ ./lib/css/",
"build:js": "cross-env NODE_ENV=production rollup -c",
"build:dts": "cross-env NODE_ENV=production BUILD_ENV=dts rollup -c",
"dev": "rimraf ./lib && cross-env BUILD_ENV=watch node watch.js",
"build": "rimraf ./lib && npm run build:css && npm run build:js",
"build:test": "rimraf ./test-lib && cross-env NODE_ENV=test rollup -c rollup.config.test.js --sourcemap",
"eslint": "eslint ./ --ext .js,.ts,.tsx --fix",
"test": "npm run build:test && cross-env NODE_ENV=test istanbul cover node_modules/mocha/bin/_mocha -- ./test",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"commit": "git-cz"
},
"repository": {
"type": "git",
"url": ""
},
"keywords": [
"react",
"modal",
"Confirm"
],
"author": "2631541594@qq.com",
"license": "MIT",
"bugs": {
"url": ""
},
"homepage": "",
"devDependencies": {
"@babel/core": "^7.5.0",
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/preset-env": "^7.5.0",
"@babel/register": "^7.4.4",
"@babel/runtime": "^7.5.1",
"@livelybone/singleton": "^1.1.1",
"@types/react": "^16.8.23",
"@types/react-dom": "^16.8.5",
"@typescript-eslint/eslint-plugin": "^1.12.0",
"@typescript-eslint/parser": "^1.12.0",
"babel-eslint": "^10.0.2",
"babel-plugin-istanbul": "^5.1.4",
"babel-preset-react-app": "^9.0.0",
"chai": "^4.2.0",
"chalk": "^2.4.2",
"chokidar": "^3.0.2",
"commitizen": "^3.0.7",
"conventional-changelog-cli": "^2.0.12",
"cross-env": "^5.2.0",
"cross-spawn": "^6.0.5",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.3.0",
"eslint-config-react-app": "^4.0.1",
"eslint-plugin-flowtype": "^3.11.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^1.6.1",
"express": "^4.17.1",
"husky": "^3.0.0",
"istanbul": "^1.1.0-alpha.1",
"jsdom": "^15.1.1",
"lint-staged": "^9.1.0",
"mocha": "^5.2.0",
"ncp": "^2.0.0",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rollup": "^1.7.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-dts": "^1.1.5",
"rollup-plugin-license": "^0.8.1",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-uglify": "^6.0.2",
"typescript": "^3.5.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"eslint --fix",
"git update-index --again"
],
"**/*.scss": [
"prettier --write",
"git update-index --again"
]
},
"dependencies": {
"@auraxy/react-async-button": "^1.0.6",
"@auraxy/react-loading": "^1.0.0"
}
}