2017-07-13 14:03:48 -04:00
|
|
|
{
|
2017-08-28 18:01:18 -04:00
|
|
|
"name": "scratch-paint",
|
2018-02-09 16:15:41 -05:00
|
|
|
"version": "0.2.0",
|
2017-07-13 15:06:10 -04:00
|
|
|
"description": "Graphical User Interface for the Scratch 3.0 paint editor, which is used to make and edit sprites for use in projects.",
|
2017-07-14 11:29:12 -04:00
|
|
|
"main": "./dist/scratch-paint.js",
|
2018-04-30 17:31:42 -04:00
|
|
|
"browser": "./src/index.js",
|
2017-07-13 14:03:48 -04:00
|
|
|
"scripts": {
|
2017-10-17 13:59:02 -04:00
|
|
|
"build": "npm run clean && webpack --progress --colors --bail",
|
2017-07-14 11:29:12 -04:00
|
|
|
"clean": "rimraf ./dist && mkdirp dist && rimraf ./playground && mkdirp playground",
|
2017-07-13 15:30:06 -04:00
|
|
|
"deploy": "touch playground/.nojekyll && gh-pages -t -d playground -m \"Build for $(git log --pretty=format:%H -n1)\"",
|
2017-08-21 17:58:38 -04:00
|
|
|
"i18n:src": "babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/",
|
2017-07-13 14:03:48 -04:00
|
|
|
"lint": "eslint . --ext .js,.jsx",
|
2017-10-17 13:59:02 -04:00
|
|
|
"start": "webpack-dev-server",
|
2017-10-13 13:33:04 -04:00
|
|
|
"test": "npm run lint && npm run unit && NODE_ENV=production npm run build",
|
2017-07-26 20:39:12 -04:00
|
|
|
"unit": "jest",
|
2017-07-13 14:03:48 -04:00
|
|
|
"watch": "webpack --progress --colors --watch"
|
|
|
|
},
|
|
|
|
"author": "Massachusetts Institute of Technology",
|
|
|
|
"license": "BSD-3-Clause",
|
2017-07-13 15:06:10 -04:00
|
|
|
"homepage": "https://github.com/LLK/scratch-paint#readme",
|
2017-07-13 14:03:48 -04:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2017-07-13 15:06:10 -04:00
|
|
|
"url": "git+ssh://git@github.com/LLK/scratch-paint.git"
|
2017-07-13 14:03:48 -04:00
|
|
|
},
|
2018-04-30 17:31:42 -04:00
|
|
|
"dependencies": {
|
2018-08-08 18:27:01 -04:00
|
|
|
"@scratch/paper": "0.11.20180806212106",
|
2018-04-30 17:31:42 -04:00
|
|
|
"classnames": "2.2.5",
|
|
|
|
"keymirror": "0.1.1",
|
|
|
|
"lodash.bindall": "4.4.0",
|
2018-08-29 15:29:13 -04:00
|
|
|
"lodash.omit": "4.5.0",
|
2018-04-30 17:31:42 -04:00
|
|
|
"minilog": "3.1.0",
|
|
|
|
"parse-color": "1.0.0",
|
|
|
|
"prop-types": "^15.5.10",
|
|
|
|
"scratch-l10n": "^2.0.0",
|
2018-09-26 11:24:34 -04:00
|
|
|
"scratch-svg-renderer": "0.2.0-prerelease.20180926143036"
|
2018-04-30 17:31:42 -04:00
|
|
|
},
|
2017-07-13 14:03:48 -04:00
|
|
|
"peerDependencies": {
|
2017-10-13 13:27:49 -04:00
|
|
|
"react": "^16",
|
2018-04-30 17:31:42 -04:00
|
|
|
"react-dom": "^16",
|
|
|
|
"react-intl": "^2",
|
|
|
|
"react-intl-redux": "^0.7",
|
|
|
|
"react-popover": "^0.5",
|
|
|
|
"react-redux": "^5",
|
|
|
|
"react-responsive": "^4",
|
|
|
|
"react-style-proptype": "^3",
|
|
|
|
"react-tooltip": "^3",
|
|
|
|
"redux": "^3"
|
2017-07-13 14:03:48 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-08-20 11:31:52 -04:00
|
|
|
"autoprefixer": "9.1.2",
|
2017-08-28 18:01:18 -04:00
|
|
|
"babel-cli": "6.26.0",
|
2017-07-13 14:03:48 -04:00
|
|
|
"babel-core": "^6.23.1",
|
2018-02-09 16:04:45 -05:00
|
|
|
"babel-eslint": "^8.2.1",
|
2018-08-06 14:55:55 -04:00
|
|
|
"babel-jest": "^23.0.1",
|
2018-05-07 14:21:22 -04:00
|
|
|
"babel-loader": "^7.1.4",
|
2018-02-09 16:04:45 -05:00
|
|
|
"babel-plugin-react-intl": "2.4.0",
|
2017-07-13 14:03:48 -04:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.22.0",
|
2018-05-07 14:22:22 -04:00
|
|
|
"babel-preset-env": "^1.6.1",
|
2017-07-13 14:03:48 -04:00
|
|
|
"babel-preset-react": "^6.22.0",
|
2017-11-09 16:27:24 -05:00
|
|
|
"canvas-prebuilt": "^1.6.5-prerelease.1",
|
2018-08-06 14:53:43 -04:00
|
|
|
"css-loader": "1.0.0",
|
2017-10-13 13:27:49 -04:00
|
|
|
"enzyme": "^3.1.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.0.1",
|
2017-08-28 18:01:18 -04:00
|
|
|
"eslint": "^4.4.1",
|
2017-07-26 20:39:12 -04:00
|
|
|
"eslint-config-import": "^0.13.0",
|
2018-02-09 16:04:45 -05:00
|
|
|
"eslint-config-scratch": "^5.0.0",
|
2018-03-02 10:33:21 -05:00
|
|
|
"eslint-plugin-import": "^2.9.0",
|
2017-08-28 18:01:18 -04:00
|
|
|
"eslint-plugin-react": "^7.2.1",
|
2017-07-13 14:03:48 -04:00
|
|
|
"gh-pages": "github:rschamp/gh-pages#publish-branch-to-subfolder",
|
2018-05-08 13:03:44 -04:00
|
|
|
"html-webpack-plugin": "3.2.0",
|
2018-02-09 16:04:45 -05:00
|
|
|
"jest": "^22.2.2",
|
2017-07-14 11:29:12 -04:00
|
|
|
"lodash.defaultsdeep": "4.6.0",
|
2017-07-13 14:03:48 -04:00
|
|
|
"mkdirp": "^0.5.1",
|
2018-02-09 16:04:45 -05:00
|
|
|
"paper": "0.11.5",
|
2018-08-06 14:53:09 -04:00
|
|
|
"postcss-import": "^12.0.0",
|
2018-08-09 14:47:02 -04:00
|
|
|
"postcss-loader": "^3.0.0",
|
2017-07-13 14:03:48 -04:00
|
|
|
"postcss-simple-vars": "^4.0.0",
|
2017-10-13 13:27:49 -04:00
|
|
|
"raf": "^3.4.0",
|
2018-01-11 18:53:16 -05:00
|
|
|
"react": "16.2.0",
|
2018-08-06 15:03:59 -04:00
|
|
|
"react-dom": "16.4.0",
|
2017-10-13 13:27:49 -04:00
|
|
|
"react-intl": "2.4.0",
|
2018-08-06 15:15:02 -04:00
|
|
|
"react-intl-redux": "2.0.0",
|
2018-10-10 15:10:24 -04:00
|
|
|
"react-popover": "0.5.10",
|
2018-02-16 17:24:14 -05:00
|
|
|
"react-redux": "5.0.7",
|
2018-08-06 15:12:02 -04:00
|
|
|
"react-responsive": "4.1.0",
|
2018-03-08 11:11:07 -05:00
|
|
|
"react-style-proptype": "3.2.1",
|
2017-10-13 13:27:49 -04:00
|
|
|
"react-test-renderer": "^16.0.0",
|
2017-12-21 11:24:38 -05:00
|
|
|
"react-tooltip": "3.4.0",
|
2018-02-09 16:04:45 -05:00
|
|
|
"redux": "3.7.2",
|
2017-07-26 20:39:12 -04:00
|
|
|
"redux-mock-store": "^1.2.3",
|
2017-07-13 14:03:48 -04:00
|
|
|
"redux-throttle": "0.1.1",
|
2018-08-06 14:54:23 -04:00
|
|
|
"regenerator-runtime": "^0.12.0",
|
2017-07-13 14:03:48 -04:00
|
|
|
"rimraf": "^2.6.1",
|
2018-08-07 11:10:12 -04:00
|
|
|
"style-loader": "^0.22.0",
|
2018-05-07 14:21:22 -04:00
|
|
|
"svg-url-loader": "^2.3.2",
|
2018-08-13 12:19:36 -04:00
|
|
|
"tap": "^11.1.0",
|
2018-05-07 14:21:22 -04:00
|
|
|
"uglifyjs-webpack-plugin": "^1.2.5",
|
|
|
|
"url-loader": "^1.0.1",
|
|
|
|
"webpack": "^4.8.0",
|
2018-09-26 11:08:54 -04:00
|
|
|
"webpack-cli": "^3.1.0",
|
|
|
|
"webpack-dev-server": "^3.1.9"
|
2017-07-26 20:39:12 -04:00
|
|
|
},
|
|
|
|
"jest": {
|
2017-10-13 13:27:49 -04:00
|
|
|
"setupFiles": [
|
|
|
|
"raf/polyfill",
|
|
|
|
"<rootDir>/test/helpers/enzyme-setup.js"
|
|
|
|
],
|
2017-07-26 20:39:12 -04:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
|
|
|
|
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js"
|
|
|
|
}
|
2017-07-13 14:03:48 -04:00
|
|
|
}
|
|
|
|
}
|