1 | {
|
2 | "name": "svelte-asyncable",
|
3 | "version": "2.2.0",
|
4 | "description": "Super tiny, declarative, optimistic, async store for SvelteJS.",
|
5 | "main": "./dist/index.js",
|
6 | "module": "./dist/index.mjs",
|
7 | "cdn": "dist/asyncable.min.js",
|
8 | "unpkg": "dist/asyncable.min.js",
|
9 | "svelte": "./src/index.js",
|
10 | "types": "./src/index.d.ts",
|
11 | "engines": {
|
12 | "node": ">=10.0.0"
|
13 | },
|
14 | "scripts": {
|
15 | "build": "npm run format && npm run lint && npm run clean && rollup -c",
|
16 | "prepublishOnly": "npm run build && npm run size",
|
17 | "format": "prettier --write src",
|
18 | "lint": "eslint src",
|
19 | "lint:fix": "eslint src --fix",
|
20 | "test": "jest src",
|
21 | "size": "size-limit",
|
22 | "clean": "rm -rf ./dist"
|
23 | },
|
24 | "babel": {
|
25 | "presets": [
|
26 | [
|
27 | "@babel/preset-env"
|
28 | ]
|
29 | ]
|
30 | },
|
31 | "browserslist": [
|
32 | "extends browserslist-config-google"
|
33 | ],
|
34 | "size-limit": [
|
35 | {
|
36 | "name": "UMD output",
|
37 | "limit": "1 KB",
|
38 | "path": "./dist/index.js"
|
39 | },
|
40 | {
|
41 | "name": "ESM output",
|
42 | "limit": "1 KB",
|
43 | "path": "./dist/index.mjs"
|
44 | },
|
45 | {
|
46 | "name": "UMD output (minified)",
|
47 | "limit": "1 KB",
|
48 | "path": "./dist/index.min.js"
|
49 | },
|
50 | {
|
51 | "name": "ESM output (minified)",
|
52 | "limit": "1 KB",
|
53 | "path": "./dist/index.min.mjs"
|
54 | },
|
55 | {
|
56 | "name": "IIFE bundle",
|
57 | "limit": "3.5 KB",
|
58 | "path": "./dist/asyncable.js"
|
59 | },
|
60 | {
|
61 | "name": "ESM bundle",
|
62 | "limit": "1.6 KB",
|
63 | "path": "./dist/asyncable.mjs"
|
64 | },
|
65 | {
|
66 | "name": "IIFE bundle (minified)",
|
67 | "limit": "2 KB",
|
68 | "path": "./dist/asyncable.min.js"
|
69 | },
|
70 | {
|
71 | "name": "ESM bundle (minified)",
|
72 | "limit": "2 KB",
|
73 | "path": "./dist/asyncable.min.mjs"
|
74 | }
|
75 | ],
|
76 | "prettier": {
|
77 | "tabWidth": 4,
|
78 | "semi": true,
|
79 | "singleQuote": true
|
80 | },
|
81 | "eslintConfig": {
|
82 | "extends": [
|
83 | "eslint:recommended",
|
84 | "prettier"
|
85 | ],
|
86 | "parserOptions": {
|
87 | "ecmaVersion": 2019,
|
88 | "sourceType": "module"
|
89 | },
|
90 | "env": {
|
91 | "es6": true,
|
92 | "browser": true
|
93 | }
|
94 | },
|
95 | "files": [
|
96 | "src",
|
97 | "dist"
|
98 | ],
|
99 | "repository": {
|
100 | "type": "git",
|
101 | "url": "git+https://github.com/sveltetools/svelte-asyncable.git"
|
102 | },
|
103 | "keywords": [
|
104 | "svelte",
|
105 | "svelte store"
|
106 | ],
|
107 | "author": "PaulMaly",
|
108 | "license": "MIT",
|
109 | "bugs": {
|
110 | "url": "https://github.com/sveltetools/svelte-asyncable/issues"
|
111 | },
|
112 | "homepage": "https://github.com/sveltetools/svelte-asyncable#readme",
|
113 | "devDependencies": {
|
114 | "@babel/core": "^7.13.8",
|
115 | "@babel/preset-env": "^7.13.8",
|
116 | "@rollup/plugin-babel": "^5.3.0",
|
117 | "@rollup/plugin-commonjs": "^17.1.0",
|
118 | "@rollup/plugin-node-resolve": "^11.2.0",
|
119 | "@size-limit/preset-app": "^4.9.2",
|
120 | "browserslist-config-google": "^2.0.0",
|
121 | "core-js": "^3.9.0",
|
122 | "eslint": "^7.20.0",
|
123 | "eslint-config-prettier": "^8.1.0",
|
124 | "jest": "^26.6.3",
|
125 | "prettier": "^2.2.1",
|
126 | "rollup": "^2.40.0",
|
127 | "rollup-plugin-sourcemaps": "^0.6.3",
|
128 | "rollup-plugin-terser": "^7.0.2",
|
129 | "size-limit": "^4.9.2",
|
130 | "svelte": "^3.0.0"
|
131 | },
|
132 | "peerDependencies": {
|
133 | "svelte": "4.x"
|
134 | }
|
135 | }
|