-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
66 lines (66 loc) · 1.97 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
{
"name": "svelte-simple-modal",
"version": "1.6.2",
"description": "A small and simple modal for Svelte",
"type": "module",
"svelte": "src/index.js",
"main": "lib/index.js",
"module": "lib/index.js",
"types": "types/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0",
"build": "rm -rf lib && rm -rf types && rollup -c --bundleConfigAsCjs && sed -i '/from \"\"/d' types/index.d.ts && echo 'export { Context, Open, Close } from \"./Modal.svelte\";' >> types/index.d.ts && sed -i 's/SvelteComponentTyped/SvelteComponent/g' types/Modal.svelte.d.ts",
"precommit": "NODE_ENV=production lint-staged; npm run lint",
"prepare": "npm run lint && npm run build",
"prerelease": "npm run lint; rm -f dist.zip; npm run build; zip dist.zip lib/* src/* types/*",
"lint": "eslint src/* rollup.config.js"
},
"files": [
"lib",
"src",
"types"
],
"exports": {
".": {
"svelte": "./src/index.js",
"types": "./types/index.d.ts"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/flekschas/svelte-simple-modal.git"
},
"keywords": [
"svelte",
"modal",
"popup",
"dialog"
],
"author": "Fritz Lekschas",
"license": "MIT",
"bugs": {
"url": "https://github.com/flekschas/svelte-simple-modal/issues"
},
"homepage": "https://github.com/flekschas/svelte-simple-modal#readme",
"peerDependencies": {
"svelte": "^3.30.0 || ^4.0.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.1.0",
"@tsconfig/svelte": "^4.0.1",
"eslint": "^8.43.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-svelte": "^2.31.1",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.1",
"pretty-quick": "^3.1.3",
"rollup": "^3.25.2",
"rollup-plugin-svelte": "^7.1.5",
"sveld": "^0.18.1",
"svelte": "^4.0.0",
"svelte-eslint-parser": "^0.31.0",
"typescript": "^5.1.3"
}
}