mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05:00
53e8723086
Match the versions of Webpack, Babel, and related plugins as used in scratch-gui. That plus a few other tweaks means that this repository builds the same with or without `npm ln scratch-gui`, and also means that all syntax used in scratch-gui should build the same here.
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"name": "scratch-desktop",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"start": "electron-webpack dev --bail --display-error-details --env.minify=false",
|
|
"compile": "electron-webpack --bail --display-error-details --env.minify=false",
|
|
"fetch": "node ./scripts/fetchMediaLibraryAssets.js",
|
|
"dist": "npm run compile && electron-builder",
|
|
"dist:dir": "npm run dist -- --dir -c.compression=store -c.mac.identity=null",
|
|
"lint": "eslint --cache --color --ext .jsx,.js ."
|
|
},
|
|
"dependencies": {
|
|
"source-map-support": "^0.5.9"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.1.2",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
"@babel/plugin-transform-async-to-generator": "^7.1.0",
|
|
"@babel/preset-env": "^7.1.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"async": "^2.6.1",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-loader": "^8.0.4",
|
|
"babel-plugin-react-intl": "^2.3.1",
|
|
"copy-webpack-plugin": "^4.5.1",
|
|
"electron": "^3.0.2",
|
|
"electron-builder": "^20.28.1",
|
|
"electron-devtools-installer": "^2.2.4",
|
|
"electron-webpack": "^2.3.1",
|
|
"eslint": "^5.0.1",
|
|
"eslint-config-scratch": "^5.0.0",
|
|
"eslint-plugin-import": "^2.8.0",
|
|
"eslint-plugin-react": "^7.5.1",
|
|
"intl": "1.2.5",
|
|
"react": "16.2.0",
|
|
"react-dom": "16.2.0",
|
|
"react-intl": "2.4.0",
|
|
"react-redux": "5.0.7",
|
|
"redux": "3.7.2",
|
|
"scratch-gui": "0.1.0-prerelease.20180927141400",
|
|
"uglifyjs-webpack-plugin": "^1.2.5",
|
|
"webpack": "^4.6.0"
|
|
},
|
|
"resolutions": {
|
|
"upath": "^1.0.5"
|
|
}
|
|
}
|