-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
64 lines (64 loc) · 1.7 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
{
"name": "fun-hooks",
"version": "1.0.4",
"description": "A generalized and simple hooking API for adding extensibility to applications",
"author": "Rich Snapp @snapwich",
"license": "MIT",
"keywords": [
"hooks",
"middleware",
"before",
"after",
"pre",
"post",
"wrapper",
"plugins"
],
"main": "eval/index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"eval/index.js",
"no-eval/index.js",
"dist/fun-hooks.js",
"dist/fun-hooks.min.js",
"dist/fun-hooks.min.js.map",
"dist/fun-hooks.no-eval.js",
"dist/fun-hooks.no-eval.min.js",
"dist/fun-hooks.no-eval.min.js.map"
],
"unpkg": "dist/fun-hooks.min.js",
"scripts": {
"test": "jest",
"test:debug": "cross-env DEBUG=true node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand .",
"lint": "eslint index.js index.test.js scripts/*.js",
"prettier": "prettier --write \"{.,scripts}/{*.js,*.d.ts,json,md}\" --end-of-line lf",
"bundle": "node scripts/bundle.js --output",
"validate": "npm run lint && npm run test",
"cleanup": "node scripts/cleanup.js",
"prepare": "npm run validate && npm run bundle",
"publish": "npm run cleanup"
},
"repository": {
"type": "git",
"url": "https://github.com/snapwich/fun-hooks"
},
"dependencies": {
"typescript-tuple": "^2.2.1"
},
"devDependencies": {
"cross-env": "^5.2.0",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^22.1.2",
"eslint-plugin-prettier": "^3.0.1",
"eval": "^0.1.3",
"jest": "^26.6.3",
"mkdirp": "^1.0.4",
"preprocess": "^3.1.0",
"prettier": "^1.16.4",
"shelljs": "^0.8.3",
"terser": "^4.8.1",
"yargs": "^13.2.2"
}
}