2017-07-13 14:03:48 -04:00
|
|
|
{
|
2017-08-28 18:01:18 -04:00
|
|
|
"name": "scratch-paint",
|
2017-07-13 14:03:48 -04:00
|
|
|
"version": "0.1.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",
|
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
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2017-10-13 13:27:49 -04:00
|
|
|
"react": "^16",
|
|
|
|
"react-dom": "^16"
|
2017-07-13 14:03:48 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-10-12 18:35:30 -04:00
|
|
|
"@scratch/paper": "~0.11.6",
|
2017-08-28 18:01:18 -04:00
|
|
|
"autoprefixer": "7.1.2",
|
|
|
|
"babel-cli": "6.26.0",
|
2017-07-13 14:03:48 -04:00
|
|
|
"babel-core": "^6.23.1",
|
2017-08-28 18:01:18 -04:00
|
|
|
"babel-eslint": "^7.2.3",
|
2017-07-26 20:39:12 -04:00
|
|
|
"babel-jest": "^20.0.3",
|
2017-08-28 18:01:18 -04:00
|
|
|
"babel-loader": "^7.1.0",
|
2017-08-21 17:58:38 -04:00
|
|
|
"babel-plugin-react-intl": "2.3.1",
|
2017-07-13 14:03:48 -04:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.22.0",
|
|
|
|
"babel-preset-es2015": "^6.22.0",
|
|
|
|
"babel-preset-react": "^6.22.0",
|
2017-11-09 16:27:24 -05:00
|
|
|
"canvas-prebuilt": "^1.6.5-prerelease.1",
|
2017-07-13 14:03:48 -04:00
|
|
|
"classnames": "2.2.5",
|
|
|
|
"css-loader": "0.28.3",
|
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",
|
2017-08-28 18:01:18 -04:00
|
|
|
"eslint-config-scratch": "^4.0.0",
|
2017-07-26 20:39:12 -04:00
|
|
|
"eslint-plugin-import": "^2.7.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",
|
2017-08-28 18:01:18 -04:00
|
|
|
"html-webpack-plugin": "2.30.0",
|
2017-07-26 20:39:12 -04:00
|
|
|
"jest": "^20.0.4",
|
2017-07-27 00:34:33 -04:00
|
|
|
"keymirror": "0.1.1",
|
|
|
|
"lodash.bindall": "4.4.0",
|
2017-07-14 11:29:12 -04:00
|
|
|
"lodash.defaultsdeep": "4.6.0",
|
2017-07-13 14:03:48 -04:00
|
|
|
"minilog": "3.1.0",
|
|
|
|
"mkdirp": "^0.5.1",
|
2017-07-27 00:34:33 -04:00
|
|
|
"paper": "0.11.4",
|
2017-10-11 09:05:34 -04:00
|
|
|
"parse-color": "1.0.0",
|
2017-07-13 14:03:48 -04:00
|
|
|
"postcss-import": "^10.0.0",
|
|
|
|
"postcss-loader": "^2.0.5",
|
|
|
|
"postcss-simple-vars": "^4.0.0",
|
|
|
|
"prop-types": "^15.5.10",
|
2017-10-13 13:27:49 -04:00
|
|
|
"raf": "^3.4.0",
|
2018-01-11 18:53:16 -05:00
|
|
|
"react": "16.2.0",
|
|
|
|
"react-dom": "16.2.0",
|
2017-10-13 13:27:49 -04:00
|
|
|
"react-intl": "2.4.0",
|
2017-08-21 17:58:38 -04:00
|
|
|
"react-intl-redux": "0.6.0",
|
2017-10-11 09:05:34 -04:00
|
|
|
"react-popover": "0.5.4",
|
2017-07-17 18:39:50 -04:00
|
|
|
"react-redux": "5.0.5",
|
2017-11-08 09:55:44 -05:00
|
|
|
"react-responsive": "3.0.0",
|
2017-12-08 16:52:37 -05:00
|
|
|
"react-style-proptype": "3.1.0",
|
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",
|
2017-08-28 18:01:18 -04:00
|
|
|
"redux": "3.7.0",
|
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",
|
2017-07-26 20:39:12 -04:00
|
|
|
"regenerator-runtime": "^0.10.5",
|
2017-07-13 14:03:48 -04:00
|
|
|
"rimraf": "^2.6.1",
|
2017-10-17 13:59:02 -04:00
|
|
|
"scratch-l10n": "^2.0.0",
|
2017-07-13 14:03:48 -04:00
|
|
|
"style-loader": "^0.18.0",
|
2017-10-19 15:08:15 -04:00
|
|
|
"svg-url-loader": "^2.2.0",
|
2017-07-18 14:35:58 -04:00
|
|
|
"tap": "^10.2.0",
|
2017-10-25 14:47:24 -04:00
|
|
|
"url-loader": "^0.6.2",
|
2017-08-28 18:01:18 -04:00
|
|
|
"webpack": "^3.5.4",
|
|
|
|
"webpack-dev-server": "^2.7.0"
|
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
|
|
|
}
|
|
|
|
}
|