webamp 0.0.0-next-41d6ae0 → 0.0.0-next-e534b8e

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.
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vite").UserConfig;
2
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webamp",
3
- "version": "0.0.0-next-41d6ae0",
3
+ "version": "0.0.0-next-e534b8e",
4
4
  "description": "Winamp 2 implemented in HTML5 and JavaScript",
5
5
  "files": [
6
6
  "built",
@@ -43,12 +43,11 @@
43
43
  "build": "vite build --emptyOutDir",
44
44
  "build-library": "node ./scripts/rollup.mjs",
45
45
  "prepublishOnly": "npm run build-library && npm run type-check",
46
- "serve": "http-server ./dist/demo-site",
46
+ "serve": "vite preview",
47
47
  "start": "vite",
48
- "test": "jest --config=config/jest.unit.js",
49
- "tdd": "jest --config=config/jest.unit.js --watch",
48
+ "test": "vitest run",
49
+ "tdd": "vitest",
50
50
  "format": "prettier --write \"**/*.{js,ts,tsx,d.ts,css}\"",
51
- "integration-tests": "jest --config=config/jest.integration.js --runInBand",
52
51
  "build-skin": "rm assets/skins/base-2.91.wsz && cd assets/skins/base-2.91 && zip -x .* -x 'Skining Updates.txt' -r ../base-2.91.wsz .",
53
52
  "compile-skin": "npx tsx scripts/compileSkin.ts > css/base-skin.css",
54
53
  "skin-info": "unzip -vl assets/skins/base-2.91.wsz",
@@ -83,46 +82,28 @@
83
82
  "@rollup/plugin-typescript": "^11.1.6",
84
83
  "@types/classnames": "^2.2.6",
85
84
  "@types/invariant": "^2.2.29",
86
- "@types/jest": "^30.0.0",
87
85
  "@types/jszip": "^3.1.5",
88
86
  "@types/lodash": "^4.14.116",
89
- "@types/lodash-es": "^4.17.1",
90
87
  "@types/react": "^18.0.26",
91
88
  "@types/react-dom": "^18.0.10",
92
89
  "@types/react-redux": "^7.1.1",
93
90
  "@types/webaudioapi": "^0.0.27",
94
91
  "@typescript-eslint/eslint-plugin": "^8.36.0",
95
92
  "@typescript-eslint/parser": "^8.36.0",
96
- "canvas-mock": "0.0.0",
97
93
  "data-uri-to-buffer": "^2.0.0",
98
- "glob": "^7.1.4",
99
- "http-server": "^0.11.1",
100
94
  "imagemin": "^6.1.0",
101
95
  "imagemin-optipng": "^6.0.0",
102
- "jest": "^29.7.0",
103
- "jest-environment-jsdom": "^29.7.0",
104
- "jest-image-snapshot": "^2.12.0",
105
- "jest-puppeteer": "^10.0.1",
106
96
  "postcss": "^8.4.21",
107
97
  "postcss-import": "^16.1.0",
108
98
  "puppeteer": "^22.2.0",
109
- "react-test-renderer": "^17.0.1",
99
+ "vitest": "^3.2.0",
110
100
  "rollup": "^4.18.0",
111
101
  "rollup-plugin-polyfill-node": "^0.13.0",
112
102
  "rollup-plugin-postcss": "^4.0.2",
113
103
  "rollup-plugin-visualizer": "^5.12.0",
114
- "style-loader": "^0.23.1",
115
104
  "typescript": "^5.6.2",
116
- "url-loader": "^1.1.2",
117
105
  "vite": "^5.2.12"
118
106
  },
119
- "jest": {
120
- "globalSetup": "jest-environment-puppeteer/setup",
121
- "globalTeardown": "jest-environment-puppeteer/teardown",
122
- "projects": [
123
- "config/jest.*.js"
124
- ]
125
- },
126
107
  "prettier": {
127
108
  "trailingComma": "es5"
128
109
  },