@gdjiami/hooks
Version:
react hooks for mygzb.com
89 lines (88 loc) • 2.37 kB
JSON
{
"name": "@gdjiami/hooks",
"version": "0.5.1",
"description": "react hooks for mygzb.com",
"main": "lib/index.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"sideEffects": false,
"scripts": {
"build:clean": "rm -rf es lib ie8",
"build:es": "tsc -b tsconfig-build.json",
"build:ie8": "tsc -b tsconfig-build.ie8.json && babel --config-file ./babel-ie8.config.js ie8 --out-dir ie8",
"build:commonjs": "tsc -b tsconfig-build.cm.json",
"build": "npm run build:clean && npm run build:es && npm run build:commonjs && npm run build:ie8",
"test:type": "tsc -b tsconfig.test.json",
"test": "jest --coverage && npm run test:type",
"test:watch": "jest --watch",
"doc:dev": "docz dev",
"doc:build": "docz build"
},
"files": [
"es",
"lib",
"ie8"
],
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"jest": {
"testMatch": [
"**/__tests__/**/!(helper)*.ts?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/typescript/"
],
"roots": [
"src"
]
},
"repository": {
"type": "git",
"url": "http://code.ejiahe.com:82/WEB/jm-hooks.git"
},
"keywords": [
"react",
"react-hooks",
"mygzb",
"hooks"
],
"author": "ivan",
"license": "MIT",
"peerDependencies": {
"react": "^16.8.0",
"tslib": ">=1.9.3"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.4",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^24.0.23",
"@types/react": "^16.9.14",
"@types/react-dom": "^16.9.4",
"babel-jest": "^24.9.0",
"docz": "^1.0.0-rc.3",
"docz-theme-default": "^1.0.0-rc.3",
"husky": "^1.2.1",
"jest": "^24.9.0",
"prettier": "^1.15.3",
"pretty-quick": "^1.8.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-spring": "^8.0.18",
"react-test-renderer": "^16.12.0",
"tslib": "^1.10.0",
"typescript": "^3.7.2"
}
}