-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathpackage.json
142 lines (142 loc) · 4.22 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "svelte-navigator",
"version": "3.2.2",
"description": "Simple, accessible routing for Svelte",
"main": "dist/svelte-navigator.umd.js",
"unpkg": "dist/svelte-navigator.umd.min.js",
"module": "dist/svelte-navigator.module.mjs",
"svelte": "src/index.js",
"types": "types/index.d.ts",
"files": [
"src",
"dist",
"types",
"svelte-navigator.css"
],
"author": "Michel Strelow @mefechoel",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mefechoel/svelte-navigator.git"
},
"bugs": {
"url": "https://github.com/mefechoel/svelte-navigator/issues"
},
"homepage": "https://github.com/mefechoel/svelte-navigator#readme",
"keywords": [
"svelte-navigator",
"svelte",
"router",
"routing",
"navigate",
"navigator",
"spa",
"declarative routing",
"hooks",
"a11y",
"accessibility",
"ssr",
"server side rendering",
"typescript"
],
"sideEffects": false,
"private": false,
"scripts": {
"build": "rollup -c",
"test:unit": "jest test/unit",
"test:unit:watch": "jest test/unit --watch",
"test:integ": "start-server-and-test cy:start:quiet http-get://localhost:7070 cy:run",
"test:ssr": "npm run test:ssr:build && jest test/ssr --env=node",
"test:ssr:watch": "npm run test:ssr:build && jest test/ssr --env=node --watch",
"test:ssr:build": "node test/ssr/scripts/build",
"cy:open": "cypress open",
"cy:build": "rollup -c test/testApp/rollup.config.js",
"cy:serve": "sirv test/testApp/public --single --port 7070",
"cy:serve:quiet": "sirv test/testApp/public --single --port 7070 --quiet",
"cy:start": "npm run cy:build && npm run cy:serve",
"cy:start:quiet": "npm run cy:build && npm run cy:serve:quiet",
"cy:run": "cypress run --headless",
"test": "npm run test:unit && npm run test:ssr && npm run test:integ",
"lint": "eslint . && prettier . --check",
"lint:fix": "eslint . --fix && prettier . --write",
"verify-build": "npm run lint && npm test && npm run build",
"postinstall": "is-ci || husky install",
"prepublishOnly": "npm run verify-build && pinst --disable",
"postpublish": "pinst --enable",
"prepack": "pinst --disable",
"postpack": "pinst --enable"
},
"dependencies": {
"svelte2tsx": "^0.1.151"
},
"peerDependencies": {
"svelte": "3.x"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@babel/plugin-transform-template-literals": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@cypress/code-coverage": "^3.10.0",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/svelte": "^3.0.3",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"babel-jest": "^26.6.3",
"babel-plugin-istanbul": "^6.0.0",
"cheerio": "^1.0.0-rc.5",
"cypress": "^9.7.0",
"eslint": "^7.18.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-svelte3": "^3.0.0",
"husky": "^5.0.6",
"is-ci": "^2.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"mkdirp": "^1.0.4",
"nyc": "^15.1.0",
"pinst": "^2.1.1",
"prettier": "^2.2.1",
"prettier-plugin-svelte": "^2.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.36.2",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-svelte": "^7.0.0",
"rollup-plugin-terser": "^7.0.2",
"sirv-cli": "^1.0.10",
"start-server-and-test": "^1.11.7",
"svelte": "^3.31.2",
"svelte-jester": "^1.3.0",
"typescript": "4.1.3"
},
"nyc": {
"report-dir": "coverage-cypress",
"extension": [
".js",
".cjs",
".mjs",
".ts",
".tsx",
".jsx",
".svelte"
]
},
"lint-staged": {
"*.{js,ts,svelte}": [
"eslint"
],
"*": [
"prettier --check"
]
}
}