-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
99 lines (99 loc) · 2.47 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "babel-plugin-react-directives",
"version": "3.0.0",
"description": "A babel plugin that provides some directives for react(any JSX), similar to directive of vue.",
"main": "src/index.js",
"files": [
"src",
"runtime",
"package.json",
"README.md",
"LICENSE"
],
"scripts": {
"test": "jest",
"test:clear-cache": "jest --clearCache",
"test:install": "node test/install.js && node playground/install.js",
"pg:dev": "node playground/build.js --dev",
"pg:build": "node playground/build.js",
"release-runtime": "(cd runtime && npm publish)",
"prepublishOnly": "npm run test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js}": [
"eslint --fix",
"git add"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"author": "peakchen90 <1558267774@qq.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/peakchen90/babel-plugin-react-directives"
},
"bugs": {
"url": "https://github.com/peakchen90/babel-plugin-react-directives/issues"
},
"keywords": [
"babel-plugin",
"react-directive",
"jsx-directive",
"jsx-plus",
"directive",
"react",
"vue",
"x-if",
"x-for",
"v-if",
"v-for"
],
"engines": {
"node": ">=10.0.0"
},
"dependencies": {
"@babel/code-frame": "^7.12.13",
"@babel/generator": "^7.13.9",
"@babel/plugin-syntax-jsx": "^7.12.13",
"@babel/types": "^7.13.14",
"ajv": "^6.12.6",
"ajv-errors": "^1.0.1",
"chalk": "^4.1.0",
"react-directives-runtime": "^1.0.0",
"semver": "^6.3.0"
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/preset-react": "^7.13.13",
"@types/jest": "^26.0.22",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"common-tags": "^1.8.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.23.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-directives": "^2.0.0",
"husky": "^4.3.8",
"invariant": "^2.2.4",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"lodash.mergewith": "^4.6.2",
"path-exists": "^4.0.0",
"prettier": "1.19.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"strip-indent": "^3.0.0"
}
}