UNPKG

babel-helper-decorate-react

Version:
108 lines (107 loc) 2.77 kB
{ "name": "babel-helper-decorate-react", "version": "2.0.1", "description": "Babel Helper for custom decorator for React Component", "author": "余聪 <yucong06@meituan.com>", "scripts": { "test": "npx jest", "test:watch": "npm test -- --watch", "preversion": "npm test", "build": "npm run clean && run-p --print-label \"build:**\"", "dev": "TSC_OPTIONS=\"--watch\" npm run build", "build:es": "tsc $TSC_OPTIONS --outDir es --module es6", "build:cjs": "tsc $TSC_OPTIONS --outDir lib", "build:tds": "tsc $TSC_OPTIONS --emitDeclarationOnly -d", "clean": "rimraf types es lib", "prepare": "npm run build", "version": "npm run changelog", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md" }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged", "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" } }, "sideEffects": false, "engines": { "node": ">=10" }, "files": [ "plugin", "mobx", "es", "types", "lib", "src" ], "keywords": [ "余聪", "babel", "plugin", "decorate", "react", "babel-helper-decorate-react" ], "main": "lib", "types": "types", "license": "MIT", "repository": "余聪/babel-helper-decorate-react", "module": "es", "jest": { "transform": { "^.+\\.tsx?$": "ts-jest", "^.+\\.jsx?$": "babel-jest" }, "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "testMatch": [ "**/__test{s,}__/*.(spec|test).{t,j}s{x,}" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "devDependencies": { "@babel/core": "^7.12.3", "@babel/plugin-proposal-decorators": "^7.12.1", "@babel/preset-env": "^7.12.7", "@babel/preset-react": "^7.12.7", "@babel/preset-typescript": "^7.12.7", "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", "@rcp/util.iscompclass": "^1.0.15", "@types/jest": "^26.0.15", "@types/react": "^16.14.0", "conventional-changelog-cli": "^2.1.1", "escape-string-regexp": "^4.0.0", "husky": "^4.3.0", "jest": "^26.6.3", "mobx": "^6.0.4", "mobx-react": "^7.0.5", "npm-run-all": "^4.1.5", "prettier": "^2.2.0", "pretty-quick": "^3.1.0", "react": "^17.0.1", "react-dom": "^17.0.1", "react-test-renderer": "^17.0.1", "rimraf": "^3.0.2", "ts-jest": "^26.4.4", "typescript": "^4.1.2" }, "dependencies": { "escape-string-regexp": "^4.0.0", "@babel/helper-module-imports": "^7.12.5", "@babel/template": "^7.10.4", "@babel/types": "^7.10.4", "module-interop": "^1.2.0" } }