@studiokloek/vite-config 0.2.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +36 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiokloek/vite-config",
3
- "version": "0.2.1",
3
+ "version": "0.3.2",
4
4
  "license": "MIT",
5
5
  "author": "Martijn Swart <opensource@studiokloek.nl> (https://studiokloek.nl)",
6
6
  "description": "Base Vite config for usage in our projects.",
@@ -24,13 +24,17 @@
24
24
  "url": "https://github.com/studiokloek/vite-config/issues"
25
25
  },
26
26
  "scripts": {
27
- "dev": "rimraf dist && yarn build-bundle -w",
28
- "build": "rimraf dist && run-s build-bundle build-types",
29
- "build-bundle": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
30
- "build-types": "run-s build-types-temp build-types-roll",
31
- "build-types-temp": "tsc --project tsconfig.types.json",
32
- "build-types-roll": "api-extractor run && rimraf tmp/types",
33
- "release": "yarn build && np"
27
+ "dev": "run-s build/clean build/watch",
28
+ "build": "run-s build/clean build/bundle types",
29
+ "build/clean": "rimraf dist",
30
+ "build/watch": "yarn build/bundle -w",
31
+ "build/bundle": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
32
+ "types": "run-s types/temp types/roll types/clean",
33
+ "types/temp": "tsc --project tsconfig.types.json",
34
+ "types/roll": "api-extractor run",
35
+ "types/clean": "rimraf tmp/types",
36
+ "release": "run-s build release/publish",
37
+ "release/publish": "np"
34
38
  },
35
39
  "engines": {
36
40
  "node": ">=14.18.0"
@@ -63,12 +67,30 @@
63
67
  },
64
68
  "dependencies": {
65
69
  "@sveltejs/vite-plugin-svelte": "^1.0.1",
70
+ "@typescript-eslint/eslint-plugin": "^5.33.1",
71
+ "@typescript-eslint/parser": "^5.33.1",
66
72
  "@vitejs/plugin-legacy": "^2.0.1",
73
+ "eslint": "^8.22.0",
74
+ "eslint-config-prettier": "^8.5.0",
75
+ "eslint-formatter-pretty": "^4.1.0",
76
+ "eslint-import-resolver-typescript": "^3.4.1",
77
+ "eslint-plugin-eslint-comments": "^3.2.0",
78
+ "eslint-plugin-import": "^2.26.0",
79
+ "eslint-plugin-prettier": "^4.2.1",
80
+ "eslint-plugin-promise": "^6.0.0",
81
+ "eslint-plugin-svelte3": "^4.0.0",
82
+ "eslint-plugin-unicorn": "^43.0.2",
67
83
  "meow": "^10.1.3",
84
+ "npm-run-all": "^4.1.5",
85
+ "postcss": "^8.4.16",
86
+ "postcss-load-config": "^4.0.1",
87
+ "prettier": "^2.7.1",
88
+ "prettier-package-json": "^2.6.4",
89
+ "prettier-plugin-svelte": "^2.7.0",
68
90
  "sass": "^1.54.4",
69
91
  "svelte": "^3.49.0",
70
92
  "terser": "^5.14.2",
71
- "vite": "v3.0.6",
93
+ "vite": "v3.0.8",
72
94
  "vite-plugin-banner": "^0.3.0",
73
95
  "vite-plugin-full-reload": "^1.0.4",
74
96
  "vite-plugin-handlebars": "naranjamecanica/vite-plugin-handlebars#tmp-release",
@@ -81,19 +103,19 @@
81
103
  "@microsoft/api-extractor": "^7.29.2",
82
104
  "@rollup/plugin-node-resolve": "^13.3.0",
83
105
  "@rollup/plugin-typescript": "^8.3.4",
84
- "@sveltejs/kit": "^1.0.0-next.405",
106
+ "@sveltejs/kit": "^1.0.0-next.410",
85
107
  "@types/ejs": "^3.1.1",
86
- "@types/html-minifier-terser": "^6.1.0",
108
+ "@types/html-minifier-terser": "^7.0.0",
87
109
  "@types/node": "^16.11.48",
88
110
  "np": "^7.6.2",
89
- "npm-run-all": "^4.1.5",
90
111
  "prettier": "^2.7.1",
91
112
  "rimraf": "^3.0.2",
92
- "rollup": "^2.77.3",
113
+ "rollup": "^2.78.0",
93
114
  "typescript": "^4.7.4",
94
115
  "xo": "^0.51.0"
95
116
  },
96
117
  "resolutions": {
97
- "@types/node": "^16.11.48"
118
+ "@types/node": "^16.11.48",
119
+ "vite": "v3.0.8"
98
120
  }
99
121
  }