-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
128 lines (128 loc) · 3.01 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "storeon-async-router",
"version": "2.0.0",
"description": "Asynchronous router for [Storeon]",
"repository": {
"type": "git",
"url": "https://github.com/majo44/storeon-async-router.git"
},
"bugs": "https://github.com/majo44/storeon-async-router/issues",
"keywords": [
"storeon",
"router",
"navigation",
"routing",
"hook"
],
"module": "./module/index.js",
"main": "index.js",
"types": "./index.d.ts",
"author": {
"email": "majo44@gmail.com",
"name": "Pawel Majewski"
},
"contributors": [
{
"email": "majo44@gmail.com",
"name": "Pawel Majewski"
}
],
"license": "MIT",
"peerDependencies": {
"storeon": "^3.1.5"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^4.4.0",
"@types/chai": "^4.2.11",
"@types/chai-as-promised": "^7.1.2",
"@types/mocha": "^7.0.2",
"@types/node": "^13.9.1",
"@types/node-fetch": "^2.5.5",
"@types/sinon": "^7.5.2",
"@types/sinon-chai": "^3.2.3",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"abortcontroller-polyfill": "^1.4.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^6.8.0",
"husky": "^4.2.3",
"mocha": "^7.1.1",
"node-fetch": "^2.6.0",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"sinon": "^7.5.0",
"sinon-chai": "^3.5.0",
"size-limit": "^4.4.0",
"source-map-support": "^0.5.16",
"storeon": "^3.1.5",
"ts-node": "^8.6.2",
"tslib": "^1.11.1",
"typedoc": "^0.17.1",
"typescript": "^3.8.3"
},
"scripts": {
"size": "size-limit",
"build": "run-s lint test compile:commonjs compile:module size docs ",
"compile:module": "tsc --module esnext --outDir module",
"compile:commonjs": "tsc",
"docs": "typedoc --theme minimal --includeDeclarations --excludeExternals --out docs --exclude \"node_modules/**/*\" index.ts",
"test": "nyc mocha *.spec.ts",
"lint": "eslint \"index.ts\"",
"format": "eslint \"index.ts\" --fix"
},
"size-limit": [
{
"limit": "1200 B",
"path": "index.js"
},
{
"limit": "1200 B",
"path": "module/index.js"
}
],
"mocha": {
"require": [
"ts-node/register",
"source-map-support/register"
],
"fullTrace": true,
"bail": true
},
"nyc": {
"extension": [
".ts"
],
"include": [
"index.ts"
],
"reporter": [
"text-summary",
"html",
"lcov"
],
"branches": 100,
"lines": 100,
"functions": 100,
"statements": 100,
"sourceMap": true,
"instrument": true
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0
},
"parser": "@typescript-eslint/parser"
},
"husky": {
"hooks": {
"pre-commit": "npm run build"
}
}
}