-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.5 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
{
"name": "@newstudios/hook",
"version": "1.1.1",
"description": "common hooks for react",
"main": "lib/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build:js:cjs": "babel --config-file ./babel.cjs.json src --no-comments --extensions \".ts,.tsx\" --out-dir lib",
"build:types:cjs": "tsc --emitDeclarationOnly",
"build:js:esm": "babel --config-file ./babel.esm.json src --no-comments --extensions \".ts,.tsx\" --out-dir dist",
"build:types:esm": "tsc --emitDeclarationOnly --p tsconfig.esm.json",
"build:cjs": "npm run build:js:cjs && npm run build:types:cjs",
"build:esm": "npm run build:js:esm && npm run build:types:esm",
"build": "npm run build:cjs && npm run build:esm",
"prepublishOnly": "npm run clean && npm run build",
"clean": "rimraf dist && rimraf lib",
"lint": "eslint src/**/* --fix",
"types:check": "tsc --noEmit",
"types:watch": "npm run types:check -- --watch",
"start": "npm run build:js -- --watch",
"dryrun": "npm publish --access public --dry-run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xinpianchang/xpc-hook.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"keywords": [
"javascript",
"common",
"utils",
"react",
"typescript"
],
"author": "tanghongyu <[email protected]>",
"homepage": "https://github.com/xinpianchang/xpc-hook#readme",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-transform-typescript": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/preset-react": "^7.10.1",
"@babel/preset-typescript": "^7.10.1",
"@types/next-tick": "^1.0.0",
"@types/react": "^16.9.38",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"eslint": "^7.2.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.3.0",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.4",
"lint-staged": "^10.2.9",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^3.0.2",
"typescript": "^4.5.2"
},
"peerDependencies": {
"next-tick": "^1.1.0",
"react": "^17.0.1",
"resize-observer-polyfill": "^1.5.1"
},
"engines": {
"node": ">= 10.0.0"
},
"files": [
"dist",
"lib"
],
"npmName": "@newstudios/hook",
"sideEffects": false,
"dependencies": {}
}