/
package.json
62 lines (62 loc) · 1.59 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "babel-plugin-direactive",
"version": "0.2.0",
"description": "Use directives in React like Vue",
"main": "lib/index.js",
"scripts": {
"build": "father-build",
"test": "umi-test --coverage",
"debug": "umi-test",
"lint": "eslint --ext .js,.ts . --fix",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prepack": "npm run build",
"prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish --any-branch"
},
"files": [
"lib",
"package.json",
"README.md"
],
"config": {
"ghooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts,*.js": [
"eslint"
],
"**/*": "prettier --write --ignore-unknown"
},
"keywords": [
"babel-plugin",
"react directive"
],
"author": "wangzongxu <308929264@qq.com>",
"license": "MIT",
"dependencies": {
"@babel/core": "^7.18.0",
"@babel/helper-module-imports": "^7.16.7",
"@babel/parser": "^7.18.0",
"@babel/template": "^7.16.7",
"@babel/types": "^7.18.0",
"coveralls": "^3.1.1"
},
"devDependencies": {
"@babel/preset-react": "^7.17.12",
"@types/jest": "^27.5.1",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"@umijs/test": "^3.5.24",
"eslint": "^7.32.0 || ^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^4.0.0",
"father-build": "^1.22.1",
"ghooks": "^2.0.4",
"lint-staged": "^12.4.2",
"np": "^7.6.1",
"prettier": "^2.6.2"
}
}