-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
40 lines (40 loc) · 1.18 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
{
"name": "hooks.macro",
"version": "1.2.0",
"author": "Pier Paolo Ramon <[email protected]>",
"main": "build/hooks.macro.js",
"license": "MIT",
"repository": "https://github.com/yuchi/hooks.macro.git",
"typings": "build/hooks.macro.d.ts",
"files": [
"build/**"
],
"scripts": {
"test": "jest",
"test:update": "jest --updateSnapshot",
"build": "yarn build:babel && yarn build:flow && yarn build:typescript",
"build:babel": "babel src/hooks.macro.js -d build",
"build:flow": "cp src/**.js.flow build",
"build:typescript": "cp src/**.d.ts build",
"format": "prettier --write \"**/*.ts\" \"**/*.json\" \"**/*.js\" \"**/*.md\""
},
"peerDependencies": {
"react": ">=16.8.0"
},
"dependencies": {
"@babel/helper-module-imports": "^7.8.3",
"babel-plugin-macros": "^2.8.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-syntax-do-expressions": "^7.8.3",
"@babel/plugin-syntax-jsx": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^25.2.3",
"babel-plugin-tester": "^9.0.0",
"jest": "^25.2.3",
"prettier": "^2.0.2"
}
}