-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.57 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
{
"name": "svelte-statusable",
"version": "1.1.0",
"description": "Super tiny, simple to use SvelteJS store to control your application status.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"cdn": "dist/statusable.min.js",
"unpkg": "dist/statusable.min.js",
"svelte": "src/index.js",
"types": "src/index.d.ts",
"engines": {
"node": ">=10.0.0"
},
"scripts": {
"build": "npm run format && npm run lint && npm run clean && rollup -c",
"prepublishOnly": "npm run build && npm run size",
"format": "prettier --write src",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "jest src",
"size": "size-limit",
"clean": "rm -rf ./dist"
},
"babel": {
"presets": [
[
"@babel/preset-env"
]
]
},
"browserslist": [
"extends browserslist-config-google"
],
"size-limit": [
{
"name": "UMD output",
"limit": "1.2 KB",
"path": "./dist/index.js"
},
{
"name": "ESM output",
"limit": "1.1 KB",
"path": "./dist/index.mjs"
},
{
"name": "UMD output (minified)",
"limit": "1 KB",
"path": "./dist/index.min.js"
},
{
"name": "ESM output (minified)",
"limit": "800 B",
"path": "./dist/index.min.mjs"
},
{
"name": "IIFE bundle",
"limit": "2.3 KB",
"path": "./dist/statusable.js"
},
{
"name": "ESM bundle",
"limit": "1.6 KB",
"path": "./dist/statusable.mjs"
},
{
"name": "IIFE bundle (minified)",
"limit": "1.5 KB",
"path": "./dist/statusable.min.js"
},
{
"name": "ESM bundle (minified)",
"limit": "1.1 KB",
"path": "./dist/statusable.min.mjs"
}
],
"prettier": {
"tabWidth": 4,
"semi": true,
"singleQuote": true
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"env": {
"es6": true,
"browser": true
}
},
"files": [
"src",
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/sveltetools/svelte-statusable.git"
},
"keywords": [
"svelte",
"svelte store"
],
"author": "PaulMaly",
"license": "MIT",
"bugs": {
"url": "https://github.com/sveltetools/svelte-statusable/issues"
},
"homepage": "https://github.com/sveltetools/svelte-statusable#readme",
"devDependencies": {
"@babel/core": "^7.13.8",
"@babel/preset-env": "^7.13.8",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@size-limit/preset-app": "^4.9.2",
"browserslist-config-google": "^2.0.0",
"core-js": "^3.9.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.1.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"rollup": "^2.40.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"size-limit": "^4.9.2",
"svelte": "^3.0.0"
},
"peerDependencies": {
"svelte": "3.x"
}
}