generated from mthines/typescript-package-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
60 lines (60 loc) · 1.79 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
{
"name": "use-effect-once",
"version": "0.1.2",
"description": "useEffectOnce and useLayoutEffectOnce with conditional execution",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"format": "prettier --write \"src/**/*.(js|ts)\"",
"lint": "eslint src --ext .js,.ts",
"lint:fix": "eslint src --fix --ext .js,.ts",
"clean": "rimraf ./lib",
"coverage": "nyc -r lcov -e .ts -x \"*.test.ts\" yarn test",
"test": "cross-env TS_NODE_PROJECT=\"src/__tests__/tsconfig.testing.json\" mocha -r ts-node/register",
"test:watch": "cross-env TS_NODE_PROJECT=\"src/__tests__/tsconfig.testing.json\" mocha -r ts-node/register --watch",
"test:lint": "yarn test && yarn lint",
"prepare": "yarn build",
"preversion": "yarn lint",
"version": "yarn format && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mthines/useEffectOnce"
},
"keywords": [
"use-effect",
"use-effect-once",
"react",
"typescript"
],
"author": "Mads Thines",
"license": "MIT",
"bugs": {
"url": "https://github.com/mthines/useEffectOnce/issues"
},
"homepage": "https://github.com/mthines/useEffectOnce#readme",
"devDependencies": {
"@types/chai": "^4.2.19",
"@types/expect": "^24.3.0",
"@types/mocha": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"chai": "^4.3.4",
"cross-env": "^7.0.3",
"eslint": "^7.30.0",
"jsdom": "^16.6.0",
"jsdom-global": "^3.0.2",
"mocha": "^9.0.2",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"ts-node": "^10.0.0",
"typescript": "^4.3.5"
},
"files": [
"lib/**/*"
]
}