-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.81 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
{
"name": "svelte-store-mercure",
"version": "1.0.0",
"main": "dist/svelte-store-mercure.js",
"module": "dist/svelte-store-mercure.esm.js",
"browser": "dist/svelte-store-mercure.umd.js",
"types": "types/main.d.ts",
"dependencies": {},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-typescript": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-jest": "^25.2.2",
"jest": "^29.2.0",
"prettier": "^2.2.1",
"rollup": "^2.68.0",
"svelte": "^3.51.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tslib": "^2.3.1",
"typescript": "^4.4.4"
},
"scripts": {
"build": "yarn run generate-types && rollup -c",
"dev": "rollup -c -w",
"generate-types": "npx -p typescript tsc src/*.ts --declaration --allowJs --emitDeclarationOnly --outDir types",
"test": "jest",
"lint": "eslint src test",
"format": "prettier src test --write",
"check-lint": "yarn lint --no-fix",
"check-format": "yarn format --no-write --check"
},
"files": [
"dist"
],
"prettier": {
"printWidth": 120,
"trailingComma": "es5",
"tabWidth": 4,
"jsxBracketSameLine": true,
"singleQuote": true
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"prettier",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off"
},
"env": {
"browser": true
}
}
}