webamp/package.json
2018-04-14 11:44:24 -07:00

126 lines
4 KiB
JSON

{
"name": "webamp",
"version": "1.0.0",
"description": "Winamp 2 implemented in HTML5 and JavaScript",
"main": "built/webamp.bundle.js",
"files": [
"built/webamp.bundle.js",
"built/webamp.bundle.min.js"
],
"scripts": {
"lint": "eslint .",
"build": "webpack --config=config/webpack.prod.js",
"build-library": "webpack --config=config/webpack.library.js",
"prepublishOnly": "npm run build-library",
"serve": "http-server ./built",
"start": "webpack-dev-server --config=config/webpack.dev.js",
"weight": "echo 'FIXME: Need to find cache-busted file' || (npm run build && gzip-size built/webamp.bundle.min.js)",
"test": "jest --coverage",
"travis-tests": "jest --coverage && npm run build",
"tdd": "jest --watch",
"format": "prettier --write experiments/**/*.js js/**/*.js css/**/*.css",
"build-skin": "rm skins/base-2.91.wsz && cd skins/base-2.91 && zip -x .* -x 'Skining Updates.txt' -r ../base-2.91.wsz .",
"build-skin-png": "rm skins/base-2.91-png.wsz && cd skins/base-2.91-png && zip -x .* -x 'Skining Updates.txt' -r ../base-2.91-png.wsz .",
"skin-info": "unzip -vl skins/base-2.91.wsz"
},
"repository": {
"type": "git",
"url": "git+https://github.com/captbaritone/webamp.git"
},
"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": {
"babel-cli": "^6.14.0",
"babel-core": "^6.21.0",
"babel-loader": "^7.1.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.22.0",
"babel-preset-react": "^6.24.1",
"canvas-mock": "0.0.0",
"copy-webpack-plugin": "^4.5.1",
"css-loader": "^0.28.4",
"eslint": "4.16.0",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-react": "^7.7.0",
"file-loader": "^1.1.5",
"git-revision-webpack-plugin": "^2.5.1",
"gzip-size-cli": "^2.0.0",
"html-webpack-plugin": "^3.0.6",
"http-server": "^0.11.1",
"jest": "^22.4.3",
"jest-cli": "^22.4.3",
"jest-runner-eslint": "^0.4.0",
"react-test-renderer": "^16.3.0",
"style-loader": "^0.19.1",
"travis-weigh-in": "^1.0.2",
"url-loader": "^0.6.2",
"webpack-dev-server": "^2.7.1",
"workbox-webpack-plugin": "^3.0.0"
},
"dependencies": {
"babel": "^6.23.0",
"babel-plugin-remove-webpack": "^1.1.0",
"babel-plugin-transform-object-rest-spread": "^6.20.2",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-runtime": "^6.26.0",
"cardinal-spline-js": "^2.3.6",
"classnames": "^2.2.5",
"eslint-plugin-import": "^2.7.0",
"invariant": "^2.2.3",
"jsmediatags": "^3.8.1",
"jszip": "^3.1.3",
"prettier": "^1.10.2",
"prop-types": "^15.5.10",
"raven-for-redux": "^1.3.1",
"raven-js": "^3.19.1",
"rc-slider": "^8.1.5",
"react": "^16.3.0",
"react-dom": "^16.3.0",
"react-redux": "^5.0.7",
"redux": "^3.7.2",
"redux-devtools-extension": "^2.13.2",
"redux-thunk": "^2.1.0",
"reselect": "^3.0.1",
"tinyqueue": "^1.2.3",
"webpack": "^3.6.0",
"webpack-merge": "^4.1.2",
"webpack-pwa-manifest": "^3.6.2",
"winamp-eqf": "^1.0.0"
},
"jest": {
"projects": [
{
"displayName": "test",
"testRegex": "\\.test\\.js$",
"globals": {
"SENTRY_DSN": null
},
"moduleNameMapper": {
"\\.css$": "<rootDir>/js/__mocks__/styleMock.js",
"\\.wsz$": "<rootDir>/js/__mocks__/fileMock.js",
"\\.mp3$": "<rootDir>/js/__mocks__/fileMock.js"
}
},
{
"runner": "jest-runner-eslint",
"displayName": "lint",
"testMatch": [
"<rootDir>/**/*.js"
]
}
]
}
}