-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.82 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
{
"name": "use-setstate",
"version": "0.0.5",
"description": "Reacts setState() method, reimagined as a hook",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc --build --clean && tsc",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"lint": "eslint . --ext .ts,.tsx && remark .",
"dev": "tsc --watch",
"tdd": "mocha -r ts-node/register -r test/helpers --watch-extensions ts,tsx -b -w test/*.spec.*",
"test": "mocha -r ts-node/register -r test/helpers -b test/*.spec.*",
"coverage": "nyc mocha -r ts-node/register -r test/helpers -b test/*.spec.*",
"coveralls": "npm run coverage && cat coverage/lcov.info | coveralls"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run lint && npm run test"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/dacre-denny/use-setstate.git"
},
"keywords": [
"react",
"hooks",
"state",
"setState",
"updater",
"functional",
"set state",
"callback"
],
"author": "Dacre Denny",
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.2.2",
"@types/enzyme": "^3.10.3",
"@types/mocha": "^5.2.7",
"@types/react": "^16.9.2",
"@types/sinon": "^7.0.13",
"@typescript-eslint/eslint-plugin": "^2.3.1",
"@typescript-eslint/parser": "^2.3.1",
"chai": "^4.2.0",
"coveralls": "^3.0.6",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^6.4.0",
"eslint-plugin-react": "^7.14.3",
"husky": "^3.0.5",
"jsdom": "^16.5.0",
"mocha": "^9.1.2",
"nyc": "^14.1.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"remark-cli": "^10.0.0",
"sinon": "^7.4.2",
"ts-node": "^8.3.0",
"typescript": "^3.6.3"
},
"dependencies": {}
}