-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpackage.json
105 lines (105 loc) · 3.48 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
{
"name": "@sveltestack/svelte-query",
"homepage": "https://github.com/SvelteStack/svelte-query",
"private": false,
"version": "1.6.0",
"description": "Hooks for managing, caching and syncing asynchronous and remote data in Svelte",
"license": "MIT",
"svelte": "svelte/index.js",
"module": "dist/index.mjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": [
"lib/setLogger.js"
],
"files": [
"dist",
"lib",
"svelte"
],
"scripts": {
"build": "rimraf ./dist && rollup -c && yarn build:types && yarn build:lib && yarn build:svelte && yarn build:svelte-types",
"build:types": "tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./dist -r --silent && replace 'export type' 'export' ./dist -r --silent",
"build:lib": "rimraf ./lib && tsc --project tsconfig.lib.json --module 'CommonJS' --outDir ./lib",
"build:svelte": "rimraf ./svelte && tsc --project tsconfig.lib.json --module 'es2020' --outDir ./svelte && node scripts/svelte-copy.js",
"build:svelte-types": "node scripts/svelte-dts.js",
"prepublishOnly": "yarn run build",
"test:watch": "yarn test -- --watch",
"test": "yarn build && yarn build:types && yarn test:eslint",
"test:dev": "yarn test:types && yarn test:eslint && jest --watch",
"test:ci": "yarn test:types && yarn test:eslint && jest",
"test:eslint": "eslint --ext .ts ./src",
"test:types": "tsc --b ./tsconfig.types.json --dry --force",
"storybook": "cd storybook && npm run start",
"build-storybook": "cd storybook && npm run build"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-typescript": "^7.10.4",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-typescript": "^6.0.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/svelte": "^3.0.0",
"@testing-library/user-event": "^12.1.7",
"@tsconfig/svelte": "^1.0.10",
"@types/jest": "^26.0.15",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"axios": "^0.21.1",
"babel-jest": "^25.2.6",
"babel-loader": "^8.1.0",
"broadcast-channel": "^4.5.0",
"cross-env": "^7.0.2",
"del-cli": "^3.0.0",
"eslint": "7.x",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-flowtype": "5.x",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-svelte3": "^2.7.3",
"fs": "^0.0.1-security",
"graphql": "^15.3.0",
"graphql-request": "^3.2.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"nan": "^2.14.1",
"path": "^0.12.7",
"prettier": "^2.0.5",
"prettier-plugin-svelte": "^1.4.0",
"react-is": "^16.13.1",
"replace": "^1.2.0",
"rollup": "^2.39.1",
"rollup-plugin-svelte": "^6.1.1",
"rollup-plugin-terser": "^5.3.0",
"svelte": "^3.29.0",
"svelte-check": "^1.0.55",
"svelte-jester": "^1.0.5",
"svelte2tsx": "^0.4.8",
"ts-jest": "^26.5.4",
"type-fest": "^2.10.0",
"typescript": "^4.0.3"
},
"peerDependencies": {
"broadcast-channel": "^4.5.0"
},
"peerDependenciesMeta": {
"broadcast-channel": {
"optional": true
}
},
"keywords": [
"svelte",
"react-query"
],
"husky": {
"hooks": {
"pre-commit": "yarn test:ci"
}
}
}