-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.06 KB
/
package.json
File metadata and controls
33 lines (33 loc) · 1.06 KB
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
{
"name": "@morioh/hook",
"version": "0.1.7",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"format": "prettier --write \"./src/**/*.ts\"",
"build": "rm -rf dist && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --module commonjs --outDir dist --target es5",
"build:esm": "tsc -m esNext --outDir dist/esm --target es6",
"prod": "webpack --mode production --progress && npm run build:es",
"pub": "npm publish --access public",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/jest": "^27.5.2",
"@types/node": "^16.18.36",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"eslint": "^8.46.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.0.1",
"prettier-plugin-tailwindcss": "^0.4.1",
"typescript": "^4.9.5"
}
}