-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.57 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
{
"name": "use-deferred-state",
"version": "1.0.2",
"description": "A React hook for deferring state change. That's essential when your UI needs to wait for disappearing animation is complete to unmount component.",
"main": "dist/useDeferredState.js",
"repository": "https://github.com/phytonmk/useDeferredState",
"author": "Mikhail Kryuchkov <phytonmk@gmail.com> (https://github.com/phytonmk)",
"license": "MIT",
"private": false,
"keywords": [
"delay",
"state",
"use-deffered",
"use-delay",
"use-state",
"react-native",
"react"
],
"files": [
"dist"
],
"devDependencies": {
"@babel/cli": "^7.13.0",
"@babel/core": "^7.13.8",
"@babel/preset-env": "^7.13.8",
"@babel/preset-typescript": "^7.13.0",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"parcel-bundler": "^1.12.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"typescript": "^4.2.2"
},
"peerDependencies": {
"react": ">=16.8"
},
"scripts": {
"start": "parcel ./example/index.html ./build",
"build": "rm -rf dist && npm run build:tsc && npm run build:babel",
"build:babel": "babel src --out-dir dist --extensions .ts",
"build:tsc": "tsc --project tsconfig.json",
"lint": "eslint .",
"format": "prettier --write '**/*.*'",
"prepublish": "npm run build"
}
}