forked from preactjs/preact-router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.14 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
{
"name": "preact-router",
"amdName": "preactRouter",
"version": "3.2.1",
"description": "Connect your components up to that address bar.",
"main": "dist/preact-router.js",
"umd:main": "dist/preact-router.umd.js",
"unpkg": "dist/preact-router.umd.js",
"jsnext:main": "dist/preact-router.es.js",
"module": "dist/preact-router.es.js",
"exports": {
".": {
"import": "./dist/preact-router.es.js",
"require": "./dist/preact-router.js"
},
"./match": {
"import": "./match/index.es.js",
"require": "./match/index.js"
},
"./package.json": "./package.json",
"./": "./"
},
"scripts": {
"build": "microbundle -f es,modern && microbundle src/cjs.js -f cjs,umd && (cd match && npm run build)",
"test": "npm-run-all lint build test:unit test:ts",
"lint": "eslint src test",
"fix": "npm run lint -- --fix",
"test:unit": "karmatic",
"test:ts": "tsc -p ./test",
"prepublishOnly": "npm-run-all build test",
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"files": [
"src",
"dist",
"match",
"index.d.ts"
],
"typings": "./index.d.ts",
"keywords": [
"preact",
"router"
],
"author": "Jason Miller <[email protected]>",
"license": "MIT",
"repository": "preactjs/preact-router",
"homepage": "https://github.com/preactjs/preact-router",
"eslintConfig": {
"extends": "preact",
"rules": {
"jest/no-jasmine-globals": 0
},
"globals": {
"spyOn": "readonly"
}
},
"peerDependencies": {
"preact": ">=10"
},
"devDependencies": {
"@babel/plugin-transform-react-jsx": "^7.9.1",
"chai": "^3.5.0",
"copyfiles": "^1.0.0",
"eslint": "^6.8.0",
"eslint-config-preact": "^1.1.1",
"karmatic": "^1.4.0",
"microbundle": "^0.12.0-next.8",
"mkdirp": "^0.5.3",
"mocha": "^5.2.0",
"npm-merge-driver-install": "^1.1.1",
"npm-run-all": "^3.0.0",
"preact": "^10.3.4",
"rimraf": "^2.5.1",
"sinon": "^7.1.0",
"sinon-chai": "^2.8.0",
"typescript": "^3.4.4",
"webpack": "^4.42.0"
}
}