-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.45 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
{
"name": "crank-router",
"version": "0.3.1",
"description": "Router component for Crank engine, which is based on Iterable Observer",
"keywords": [
"router",
"component",
"crank",
"async",
"generator",
"iterator",
"observable"
],
"author": "shiy2008@gmail.com",
"license": "LGPL-3.0",
"homepage": "https://tech-query.me/crank-router/",
"repository": {
"type": "git",
"url": "git+https://github.com/TechQuery/crank-router.git"
},
"bugs": {
"url": "https://github.com/TechQuery/crank-router/issues"
},
"source": "source/index.ts",
"directories": {
"test": "test"
},
"peerDependencies": {
"@bikeshaving/crank": "^0.1.6",
"iterable-observer": "^1.0.0-beta.4",
"web-utility": "^1.5.2"
},
"devDependencies": {
"@bikeshaving/crank": "^0.1.6",
"@types/jest": "^25.2.3",
"@types/node": "^14.0.5",
"@types/puppeteer-core": "^2.0.0",
"event-target-shim": "^5.0.1",
"fs-match": "^1.5.0",
"husky": "^4.2.5",
"iterable-observer": "^1.0.0-beta.4",
"jest": "^26.0.1",
"koapache": "^2.1.1",
"less": "^3.11.1",
"lint-staged": "^10.2.6",
"open-cli": "^6.0.1",
"parcel-bundler": "^1.12.4",
"prettier": "^2.0.5",
"puppeteer-core": "^3.1.0",
"ts-jest": "^26.0.0",
"typedoc": "^0.17.7",
"typescript": "^3.9.3",
"web-utility": "^1.5.2"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4
},
"lint-staged": {
"*.{md,less,json,yml,ts,tsx}": [
"prettier --write"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"scripts": {
"pack-test": "parcel build test/source/index.html -d docs/demo --public-url .",
"start": "parcel test/source/index.html -d docs/demo --open",
"set-chrome": "app-find chrome -c",
"test": "lint-staged && npm run pack-test && jest --forceExit",
"build": "rm -rf docs/ && typedoc && npm run pack-test",
"help": "npm run build && open-cli docs/index.html",
"prepublishOnly": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm run build"
}
}
}