2016-09-15 12:50:28 +08:00
|
|
|
{
|
|
|
|
"name": "scratch-gui",
|
2024-11-23 17:44:12 +08:00
|
|
|
"version": "4.1.7",
|
2022-12-08 02:18:22 +08:00
|
|
|
"description": "Graphical User Interface for creating and running Scratch 3.0 projects",
|
2022-09-20 05:44:03 +08:00
|
|
|
"author": "Massachusetts Institute of Technology",
|
|
|
|
"license": "BSD-3-Clause",
|
2024-02-24 05:32:48 +08:00
|
|
|
"homepage": "https://github.com/scratchfoundation/scratch-gui#readme",
|
2022-09-20 05:44:03 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2024-02-24 05:32:48 +08:00
|
|
|
"url": "https://github.com/scratchfoundation/scratch-gui.git"
|
2022-09-20 05:44:03 +08:00
|
|
|
},
|
2018-02-20 04:31:00 +08:00
|
|
|
"main": "./dist/scratch-gui.js",
|
2016-09-15 12:50:28 +08:00
|
|
|
"scripts": {
|
2024-02-29 06:48:01 +08:00
|
|
|
"build": "npm run clean && webpack",
|
2024-03-15 05:58:00 +08:00
|
|
|
"clean": "rimraf ./build ./dist",
|
2022-04-20 04:37:18 +08:00
|
|
|
"deploy": "touch build/.nojekyll && gh-pages -t -d build -m \"[skip ci] Build for $(git log --pretty=format:%H -n1)\"",
|
2023-06-09 01:45:42 +08:00
|
|
|
"prepublish": "node scripts/prepublish.mjs",
|
2018-06-13 06:07:26 +08:00
|
|
|
"prune": "./prune-gh-pages.sh",
|
2018-11-30 06:54:01 +08:00
|
|
|
"i18n:push": "tx-push-src scratch-editor interface translations/en.json",
|
2023-04-03 21:43:04 +08:00
|
|
|
"i18n:src": "rimraf ./translations/messages/src && babel src > tmp.js && rimraf tmp.js && build-i18n-src ./translations/messages/src ./translations/",
|
2024-02-29 06:48:01 +08:00
|
|
|
"start": "webpack serve",
|
2018-03-01 21:07:52 +08:00
|
|
|
"test": "npm run test:lint && npm run test:unit && npm run build && npm run test:integration",
|
2022-03-16 04:32:34 +08:00
|
|
|
"test:integration": "jest --maxWorkers=4 test[\\\\/]integration",
|
2017-09-26 13:04:07 +08:00
|
|
|
"test:lint": "eslint . --ext .js,.jsx",
|
|
|
|
"test:unit": "jest test[\\\\/]unit",
|
2018-06-04 22:38:20 +08:00
|
|
|
"test:smoke": "jest --runInBand test[\\\\/]smoke",
|
2024-02-29 06:48:01 +08:00
|
|
|
"watch": "webpack --watch"
|
2016-09-15 12:50:28 +08:00
|
|
|
},
|
2022-09-20 05:44:03 +08:00
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "cz-conventional-changelog"
|
|
|
|
}
|
2016-09-15 12:50:28 +08:00
|
|
|
},
|
2020-08-26 14:19:15 +08:00
|
|
|
"dependencies": {
|
2024-02-16 09:41:31 +08:00
|
|
|
"@microbit/microbit-universal-hex": "^0.2.2",
|
2018-07-23 22:18:47 +08:00
|
|
|
"arraybuffer-loader": "^1.0.6",
|
2018-07-22 03:01:11 +08:00
|
|
|
"autoprefixer": "^9.0.1",
|
2024-02-16 09:41:31 +08:00
|
|
|
"balance-text": "^3.3.1",
|
|
|
|
"base64-loader": "^1.0.0",
|
|
|
|
"bowser": "^1.9.4",
|
2023-03-22 23:50:27 +08:00
|
|
|
"cat-blocks": "npm:scratch-blocks@0.1.0-prerelease.20220318143026",
|
2024-02-16 09:41:31 +08:00
|
|
|
"classnames": "^2.2.6",
|
|
|
|
"computed-style-to-inline-style": "^3.0.0",
|
2024-04-11 05:19:31 +08:00
|
|
|
"cookie": "^0.6.0",
|
2024-02-16 09:41:31 +08:00
|
|
|
"copy-webpack-plugin": "^6.4.1",
|
|
|
|
"core-js": "^2.5.7",
|
2024-07-04 19:08:00 +08:00
|
|
|
"css-loader": "5.2.7",
|
2024-02-16 09:41:31 +08:00
|
|
|
"dapjs": "^2.3.0",
|
|
|
|
"es6-object-assign": "^1.1.0",
|
2021-03-10 07:40:11 +08:00
|
|
|
"fastestsmallesttextencoderdecoder": "^1.0.22",
|
2024-02-16 09:41:31 +08:00
|
|
|
"get-float-time-domain-data": "^0.1.0",
|
|
|
|
"get-user-media-promise": "^1.1.4",
|
|
|
|
"immutable": "^3.8.2",
|
|
|
|
"intl": "^1.2.5",
|
|
|
|
"js-base64": "^2.4.9",
|
|
|
|
"keymirror": "^0.1.1",
|
|
|
|
"lodash.bindall": "^4.4.0",
|
|
|
|
"lodash.debounce": "^4.0.8",
|
|
|
|
"lodash.defaultsdeep": "^4.6.1",
|
|
|
|
"lodash.omit": "^4.5.0",
|
|
|
|
"lodash.throttle": "^4.0.1",
|
|
|
|
"minilog": "^3.1.0",
|
|
|
|
"omggif": "^1.0.9",
|
|
|
|
"papaparse": "^5.3.0",
|
2018-08-05 02:30:36 +08:00
|
|
|
"postcss-import": "^12.0.0",
|
2024-07-04 19:08:00 +08:00
|
|
|
"postcss-loader": "4.3.0",
|
2018-09-07 21:01:01 +08:00
|
|
|
"postcss-simple-vars": "^5.0.1",
|
2017-05-12 22:54:25 +08:00
|
|
|
"prop-types": "^15.5.10",
|
2020-11-10 23:36:13 +08:00
|
|
|
"query-string": "^5.1.1",
|
2024-03-13 05:04:02 +08:00
|
|
|
"raw-loader": "^4.0.0",
|
2024-01-06 02:38:55 +08:00
|
|
|
"react": "^16.0.0",
|
2024-02-16 09:41:31 +08:00
|
|
|
"react-contextmenu": "^2.9.4",
|
2024-01-06 02:38:55 +08:00
|
|
|
"react-dom": "^16.0.0",
|
2024-02-16 09:41:31 +08:00
|
|
|
"react-draggable": "^3.0.5",
|
|
|
|
"react-ga": "^2.5.3",
|
|
|
|
"react-intl": "^2.9.0",
|
|
|
|
"react-modal": "^3.9.1",
|
|
|
|
"react-popover": "^0.5.10",
|
|
|
|
"react-redux": "^5.0.7",
|
|
|
|
"react-responsive": "^5.0.0",
|
|
|
|
"react-style-proptype": "^3.2.2",
|
|
|
|
"react-tabs": "^2.3.0",
|
2024-04-25 06:36:11 +08:00
|
|
|
"react-tooltip": "^4.5.1",
|
2024-02-16 09:41:31 +08:00
|
|
|
"react-virtualized": "^9.20.1",
|
|
|
|
"redux": "^3.7.2",
|
|
|
|
"redux-throttle": "^0.1.1",
|
|
|
|
"scratch-audio": "^1.0.0",
|
2024-02-17 09:46:02 +08:00
|
|
|
"scratch-blocks": "^1.1.6",
|
2024-11-02 06:33:27 +08:00
|
|
|
"scratch-l10n": "^4.0.0",
|
2024-04-25 06:41:39 +08:00
|
|
|
"scratch-paint": "^2.2.151",
|
2024-07-29 22:52:45 +08:00
|
|
|
"scratch-render": "^1.0.233",
|
2024-02-22 06:23:23 +08:00
|
|
|
"scratch-render-fonts": "^1.0.2",
|
2024-02-16 09:41:31 +08:00
|
|
|
"scratch-storage": "^2.3.1",
|
2024-07-29 22:52:45 +08:00
|
|
|
"scratch-svg-renderer": "^2.3.102",
|
2024-09-07 16:20:07 +08:00
|
|
|
"scratch-vm": "^4.5.471",
|
2024-02-16 09:41:31 +08:00
|
|
|
"startaudiocontext": "^1.2.1",
|
2024-07-17 19:37:26 +08:00
|
|
|
"style-loader": "4.0.0",
|
2024-02-16 09:41:31 +08:00
|
|
|
"to-style": "^1.3.3",
|
|
|
|
"wav-encoder": "^1.3.0",
|
|
|
|
"xhr": "^2.5.0"
|
2020-08-26 14:19:15 +08:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"react": "^16.0.0",
|
|
|
|
"react-dom": "^16.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-10-26 01:12:44 +08:00
|
|
|
"@babel/cli": "7.25.9",
|
2024-10-29 00:41:53 +08:00
|
|
|
"@babel/core": "7.26.0",
|
2024-10-26 01:12:44 +08:00
|
|
|
"@babel/eslint-parser": "7.25.9",
|
2024-02-24 05:44:36 +08:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
2024-10-26 01:12:44 +08:00
|
|
|
"@babel/plugin-transform-async-to-generator": "7.25.9",
|
2024-10-29 00:41:53 +08:00
|
|
|
"@babel/preset-env": "7.26.0",
|
2024-10-26 01:12:44 +08:00
|
|
|
"@babel/preset-react": "7.25.9",
|
2023-10-24 01:27:20 +08:00
|
|
|
"@commitlint/cli": "17.8.1",
|
|
|
|
"@commitlint/config-conventional": "17.8.1",
|
2020-08-26 14:19:15 +08:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2024-09-19 22:23:59 +08:00
|
|
|
"babel-loader": "9.2.1",
|
2024-08-27 01:04:06 +08:00
|
|
|
"cheerio": "1.0.0-rc.3",
|
2024-02-24 06:19:33 +08:00
|
|
|
"enzyme": "3.11.0",
|
2024-02-17 11:06:36 +08:00
|
|
|
"enzyme-adapter-react-16": "1.15.8",
|
2024-09-19 23:31:23 +08:00
|
|
|
"eslint": "8.57.1",
|
2024-09-11 16:05:10 +08:00
|
|
|
"eslint-config-scratch": "9.0.9",
|
2021-07-27 13:41:46 +08:00
|
|
|
"eslint-import-resolver-webpack": "0.11.1",
|
2024-10-06 20:35:08 +08:00
|
|
|
"eslint-plugin-import": "2.31.0",
|
2024-02-27 00:08:11 +08:00
|
|
|
"eslint-plugin-jest": "22.21.0",
|
2024-10-26 09:28:14 +08:00
|
|
|
"eslint-plugin-react": "7.37.2",
|
2023-03-27 23:54:55 +08:00
|
|
|
"file-loader": "6.2.0",
|
2022-04-29 00:06:02 +08:00
|
|
|
"gh-pages": "3.2.3",
|
2024-10-26 12:14:31 +08:00
|
|
|
"html-webpack-plugin": "5.6.3",
|
2023-09-21 04:03:05 +08:00
|
|
|
"husky": "8.0.3",
|
2021-07-27 14:15:23 +08:00
|
|
|
"jest": "21.2.1",
|
2021-07-27 13:41:46 +08:00
|
|
|
"jest-junit": "7.0.0",
|
|
|
|
"raf": "3.4.1",
|
2023-09-22 05:51:05 +08:00
|
|
|
"react-test-renderer": "16.14.0",
|
2024-10-24 22:42:25 +08:00
|
|
|
"redux-mock-store": "1.5.5",
|
2021-07-27 13:41:46 +08:00
|
|
|
"rimraf": "2.7.1",
|
2024-09-11 11:14:15 +08:00
|
|
|
"scratch-semantic-release-config": "1.0.16",
|
2024-09-11 13:37:16 +08:00
|
|
|
"scratch-webpack-configuration": "1.5.1",
|
2018-02-10 05:11:44 +08:00
|
|
|
"selenium-webdriver": "3.6.0",
|
2023-01-10 00:20:03 +08:00
|
|
|
"semantic-release": "19.0.5",
|
2024-03-15 05:06:42 +08:00
|
|
|
"stream-browserify": "3.0.0",
|
2023-03-27 23:54:55 +08:00
|
|
|
"url-loader": "4.1.1",
|
2021-07-27 13:41:46 +08:00
|
|
|
"web-audio-test-api": "0.5.2",
|
2024-11-04 19:31:37 +08:00
|
|
|
"webpack": "5.96.1",
|
2024-03-11 22:57:27 +08:00
|
|
|
"webpack-cli": "5.1.4",
|
2024-09-07 03:09:50 +08:00
|
|
|
"webpack-dev-server": "5.1.0",
|
2023-05-17 01:16:01 +08:00
|
|
|
"yauzl": "2.10.0"
|
2017-06-11 04:20:45 +08:00
|
|
|
},
|
|
|
|
"jest": {
|
2017-10-07 01:57:07 +08:00
|
|
|
"setupFiles": [
|
2017-10-14 01:23:22 +08:00
|
|
|
"raf/polyfill",
|
|
|
|
"<rootDir>/test/helpers/enzyme-setup.js"
|
2017-10-07 01:57:07 +08:00
|
|
|
],
|
2017-06-11 04:20:45 +08:00
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"src/test.js"
|
2017-06-14 04:47:34 +08:00
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
2024-03-15 02:27:34 +08:00
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)\\??$": "<rootDir>/test/__mocks__/fileMock.js",
|
2020-02-11 07:09:35 +08:00
|
|
|
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js",
|
|
|
|
"editor-msgs(\\.js)?$": "<rootDir>/test/__mocks__/editor-msgs-mock.js"
|
2017-06-14 04:47:34 +08:00
|
|
|
}
|
2016-09-15 12:50:28 +08:00
|
|
|
}
|
|
|
|
}
|