mirror of
https://github.com/zhigang1992/babel-plugin-react-anonymous-display-name.git
synced 2026-01-12 17:12:39 +08:00
42 lines
1.1 KiB
JSON
Executable File
42 lines
1.1 KiB
JSON
Executable File
{
|
|
"name": "babel-plugin-react-anonymous-display-name",
|
|
"version": "0.1.0",
|
|
"description": "Automatically add displayName properties to your React project.",
|
|
"main": "lib/index.js",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/patrykkopycinski/babel-plugin-react-display-name"
|
|
},
|
|
"scripts": {
|
|
"build": "babel src --extensions .ts --out-dir lib --delete-dir-on-start && tsc --project src/tsconfig.json --outDir lib",
|
|
"test": "jest",
|
|
"lint": "tsc -p src && tsc -p tests && prettier --loglevel warn --write \"**/*.{ts,tsx,js,json,md}\"",
|
|
"prepare": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"babel-plugin",
|
|
"react",
|
|
"display",
|
|
"name",
|
|
"anonymous",
|
|
"memo",
|
|
"forwardRef"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.14.5",
|
|
"@babel/core": "^7.14.6",
|
|
"@babel/preset-env": "^7.14.7",
|
|
"@babel/preset-typescript": "^7.14.5",
|
|
"@types/jest": "^24.9.1",
|
|
"@types/node": "^10.0.0",
|
|
"jest": "^25.1.0",
|
|
"prettier": "^1.19.1",
|
|
"react-refresh": "0.10.0",
|
|
"typescript": "^3.7.5"
|
|
}
|
|
}
|