mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
154 lines
5 KiB
JSON
154 lines
5 KiB
JSON
{
|
|
"name": "webamp",
|
|
"version": "2.1.2",
|
|
"description": "Winamp 2 implemented in HTML5 and JavaScript",
|
|
"files": [
|
|
"built",
|
|
"!built/types/demo",
|
|
"!built/*.html",
|
|
"!built/tsBuilt"
|
|
],
|
|
"types": "built/types/js/webamp.d.ts",
|
|
"browser": "built/webamp.bundle.min.mjs",
|
|
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead",
|
|
"targets": {
|
|
"demo-site": {
|
|
"source": "demo/index.html"
|
|
}
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"require": "./built/webamp.bundle.min.js",
|
|
"import": "./built/webamp.bundle.min.mjs",
|
|
"types": "./built/types/js/webamp.d.ts",
|
|
"default": "./built/webamp.bundle.min.mjs"
|
|
},
|
|
"./butterchurn": {
|
|
"import": "./built/webamp.butterchurn-bundle.min.mjs",
|
|
"types": "./built/types/js/butterchurn.d.ts",
|
|
"default": "./built/webamp.butterchurn-bundle.min.mjs"
|
|
},
|
|
"./lazy": {
|
|
"require": "./built/webamp.lazy-bundle.js",
|
|
"import": "./built/webamp.lazy-bundle.min.mjs",
|
|
"types": "./built/types/js/webampLazy.d.ts",
|
|
"default": "./built/webamp.lazy-bundle.min.mjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"lint-fix": "eslint . --ext ts,tsx,js --fix",
|
|
"lint": "eslint . --ext ts,tsx,js",
|
|
"type-check": "tsc",
|
|
"build": "vite build --emptyOutDir",
|
|
"build-library": "node ./scripts/rollup.mjs",
|
|
"prepublishOnly": "npm run build-library && npm run type-check",
|
|
"publish-next": "yarn publish --new-version=\"0.0.0-next-$(git rev-parse --short HEAD)\" --tag next",
|
|
"serve": "http-server ./dist/demo-site",
|
|
"start": "vite",
|
|
"test": "jest --config=config/jest.unit.js",
|
|
"tdd": "jest --config=config/jest.unit.js --watch",
|
|
"format": "prettier --write \"**/*.{js,ts,tsx,d.ts,css}\"",
|
|
"integration-tests": "jest --config=config/jest.integration.js --runInBand",
|
|
"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 .",
|
|
"compile-skin": "node scripts/compileSkin.js > css/base-skin.css",
|
|
"skin-info": "unzip -vl assets/skins/base-2.91.wsz",
|
|
"build-presets": "node scripts/parsePresetFiles.js > presets/builtin.json"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/captbaritone/webamp.git",
|
|
"directory": "packages/webamp"
|
|
},
|
|
"keywords": [
|
|
"Winamp",
|
|
"HTML5",
|
|
"audio",
|
|
"web-audio-api"
|
|
],
|
|
"author": "Jordan Eldredge <jordan@jordaneldredge.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/captbaritone/webamp/issues"
|
|
},
|
|
"homepage": "https://github.com/captbaritone/webamp/",
|
|
"devDependencies": {
|
|
"@parcel/reporter-bundle-analyzer": "^2.8.2",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-commonjs": "^25.0.8",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-replace": "^5.0.5",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
"@types/classnames": "^2.2.6",
|
|
"@types/fscreen": "^1.0.1",
|
|
"@types/invariant": "^2.2.29",
|
|
"@types/jest": "^27.0.3",
|
|
"@types/jszip": "^3.1.5",
|
|
"@types/lodash": "^4.14.116",
|
|
"@types/lodash-es": "^4.17.1",
|
|
"@types/react": "^18.0.26",
|
|
"@types/react-dom": "^18.0.10",
|
|
"@types/react-redux": "^7.1.1",
|
|
"@types/webaudioapi": "^0.0.27",
|
|
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
|
"@typescript-eslint/parser": "^7.1.0",
|
|
"canvas-mock": "0.0.0",
|
|
"data-uri-to-buffer": "^2.0.0",
|
|
"glob": "^7.1.4",
|
|
"http-server": "^0.11.1",
|
|
"imagemin": "^6.1.0",
|
|
"imagemin-optipng": "^6.0.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jest-image-snapshot": "^2.12.0",
|
|
"jest-puppeteer": "^10.0.1",
|
|
"parcel": "^2.8.2",
|
|
"postcss": "^8.4.21",
|
|
"postcss-import": "^16.1.0",
|
|
"puppeteer": "^22.2.0",
|
|
"react-test-renderer": "^17.0.1",
|
|
"rollup": "^4.18.0",
|
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
"rollup-plugin-postcss": "^4.0.2",
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
"style-loader": "^0.23.1",
|
|
"typescript": "^5.3.3",
|
|
"url-loader": "^1.1.2",
|
|
"vite": "^5.2.12"
|
|
},
|
|
"jest": {
|
|
"globalSetup": "jest-environment-puppeteer/setup",
|
|
"globalTeardown": "jest-environment-puppeteer/teardown",
|
|
"projects": [
|
|
"config/jest.*.js"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "es5"
|
|
},
|
|
"dependencies": {
|
|
"@redux-devtools/extension": "^3.3.0",
|
|
"@sentry/browser": "5.9.1",
|
|
"ani-cursor": "^0.0.4",
|
|
"butterchurn": "^3.0.0-beta.3",
|
|
"butterchurn-presets": "3.0.0-beta.4",
|
|
"classnames": "^2.2.5",
|
|
"fscreen": "^1.0.2",
|
|
"invariant": "^2.2.3",
|
|
"jszip": "^3.10.1",
|
|
"lodash": "^4.17.21",
|
|
"milkdrop-preset-converter-aws": "^0.1.6",
|
|
"music-metadata": "^11.6.0",
|
|
"music-metadata-browser": "^0.6.1",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-redux": "^8.0.5",
|
|
"redux": "^5.0.0-alpha.0",
|
|
"redux-sentry-middleware": "^0.1.3",
|
|
"redux-thunk": "^2.4.0",
|
|
"reselect": "^3.0.1",
|
|
"tinyqueue": "^1.2.3",
|
|
"winamp-eqf": "^1.0.0"
|
|
}
|
|
}
|