2016-05-03 04:09:16 +00:00
|
|
|
{
|
|
|
|
"name": "p5.js-web-editor",
|
2020-08-06 16:47:07 +00:00
|
|
|
"version": "1.0.7",
|
2016-05-03 04:09:16 +00:00
|
|
|
"description": "The web editor for p5.js.",
|
|
|
|
"scripts": {
|
2018-05-04 21:05:24 +00:00
|
|
|
"clean": "rimraf dist",
|
2018-02-06 16:53:15 +00:00
|
|
|
"start": "cross-env BABEL_DISABLE_CACHE=1 NODE_ENV=development nodemon index.js",
|
|
|
|
"start:prod": "cross-env NODE_ENV=production node index.js",
|
2017-03-02 20:18:58 +00:00
|
|
|
"lint": "eslint client server --ext .jsx --ext .js",
|
|
|
|
"lint-fix": "eslint client server --ext .jsx --ext .js --fix",
|
2018-06-15 20:51:42 +00:00
|
|
|
"build": "npm run build:client && npm run build:server && npm run build:examples",
|
2018-09-26 20:14:06 +00:00
|
|
|
"build:client": "cross-env NODE_ENV=production webpack --config webpack/config.prod.js",
|
|
|
|
"build:server": "cross-env NODE_ENV=production webpack --config webpack/config.server.js",
|
|
|
|
"build:examples": "cross-env NODE_ENV=production webpack --config webpack/config.examples.js",
|
2018-10-27 23:22:54 +00:00
|
|
|
"test": "jest",
|
2019-05-24 16:16:15 +00:00
|
|
|
"test:ci": "npm run lint && npm run test",
|
2018-08-09 17:58:48 +00:00
|
|
|
"fetch-examples": "cross-env NODE_ENV=development node ./server/scripts/fetch-examples.js",
|
|
|
|
"fetch-examples-gg": "cross-env NODE_ENV=development node ./server/scripts/fetch-examples-gg.js",
|
2019-05-02 19:12:06 +00:00
|
|
|
"fetch-examples-ml5": "cross-env NODE_ENV=development node ./server/scripts/fetch-examples-ml5.js",
|
2018-08-09 17:58:48 +00:00
|
|
|
"fetch-examples:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples.bundle.js",
|
2018-12-09 23:34:15 +00:00
|
|
|
"fetch-examples-gg:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples-gg.bundle.js",
|
2019-05-02 19:12:06 +00:00
|
|
|
"fetch-examples-ml5:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples-ml5.bundle.js",
|
2020-04-30 07:01:04 +00:00
|
|
|
"update-syntax-highlighting": "node ./server/scripts/update-syntax-highlighting.js",
|
2020-01-19 15:31:13 +00:00
|
|
|
"heroku-postbuild": "touch .env; npm run build",
|
|
|
|
"storybook": "start-storybook -p 6006",
|
|
|
|
"build-storybook": "build-storybook"
|
2016-05-03 04:09:16 +00:00
|
|
|
},
|
2020-04-12 18:52:17 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,jsx}": [
|
|
|
|
"npm run lint-fix"
|
|
|
|
]
|
|
|
|
},
|
2018-10-27 23:22:54 +00:00
|
|
|
"jest": {
|
2020-06-13 11:45:47 +00:00
|
|
|
"projects": [
|
|
|
|
{
|
|
|
|
"displayName": "server",
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/server/jest.setup.js"
|
|
|
|
],
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/server/**/*.test.(js|jsx)"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayName": "client",
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/client/jest.setup.js"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/client/__test__/mocks/fileMock.js"
|
|
|
|
},
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/client/**/*.test.(js|jsx)"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2018-10-27 23:22:54 +00:00
|
|
|
},
|
2016-06-28 21:26:53 +00:00
|
|
|
"main": "index.js",
|
2016-05-03 04:09:16 +00:00
|
|
|
"author": "Cassie Tarakajian",
|
2018-05-08 20:36:06 +00:00
|
|
|
"license": "LGPL-2.1",
|
2016-06-22 23:59:12 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2016-06-23 22:29:55 +00:00
|
|
|
"url": "git+https://github.com/catarak/p5.js-web-editor.git"
|
2016-06-22 23:59:12 +00:00
|
|
|
},
|
2016-05-03 04:09:16 +00:00
|
|
|
"devDependencies": {
|
2020-01-28 22:47:12 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-do-expressions": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-export-default-from": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-function-bind": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-function-sent": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-json-strings": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-logical-assignment-operators": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-numeric-separator": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-pipeline-operator": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-throw-expressions": "^7.8.3",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
|
|
"@babel/plugin-syntax-import-meta": "^7.8.3",
|
|
|
|
"@babel/plugin-transform-react-constant-elements": "^7.8.3",
|
|
|
|
"@babel/plugin-transform-react-inline-elements": "^7.8.3",
|
2020-02-25 22:14:50 +00:00
|
|
|
"@babel/preset-env": "^7.8.4",
|
2020-01-28 22:47:12 +00:00
|
|
|
"@babel/preset-react": "^7.8.3",
|
2020-01-19 15:31:13 +00:00
|
|
|
"@storybook/addon-actions": "^5.3.6",
|
2020-01-19 16:46:09 +00:00
|
|
|
"@storybook/addon-docs": "^5.3.6",
|
|
|
|
"@storybook/addon-knobs": "^5.3.6",
|
2020-01-19 15:31:13 +00:00
|
|
|
"@storybook/addon-links": "^5.3.6",
|
|
|
|
"@storybook/addons": "^5.3.6",
|
|
|
|
"@storybook/react": "^5.3.6",
|
2020-04-29 22:34:37 +00:00
|
|
|
"@svgr/webpack": "^5.4.0",
|
2020-06-28 13:05:33 +00:00
|
|
|
"@testing-library/jest-dom": "^5.10.1",
|
|
|
|
"@testing-library/react": "^10.2.1",
|
2019-06-05 16:05:31 +00:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
|
|
"babel-eslint": "^9.0.0",
|
|
|
|
"babel-loader": "^8.0.0",
|
2019-01-16 22:56:18 +00:00
|
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.2.12",
|
2020-01-28 22:47:12 +00:00
|
|
|
"css-loader": "^3.4.2",
|
2019-08-28 20:08:40 +00:00
|
|
|
"cssnano": "^4.1.10",
|
2019-06-05 16:05:31 +00:00
|
|
|
"eslint": "^4.19.1",
|
2018-05-05 00:22:39 +00:00
|
|
|
"eslint-config-airbnb": "^16.1.0",
|
2020-05-26 21:55:29 +00:00
|
|
|
"eslint-plugin-import": "^2.20.2",
|
2020-01-28 22:47:12 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
2020-02-25 22:14:50 +00:00
|
|
|
"eslint-plugin-react": "^7.18.3",
|
2018-10-03 01:03:33 +00:00
|
|
|
"file-loader": "^2.0.0",
|
2020-04-15 20:31:15 +00:00
|
|
|
"husky": "^4.2.5",
|
2020-06-13 11:45:47 +00:00
|
|
|
"jest": "^26.0.1",
|
2020-04-15 20:31:15 +00:00
|
|
|
"lint-staged": "^10.1.3",
|
2020-01-28 22:47:12 +00:00
|
|
|
"mini-css-extract-plugin": "^0.8.2",
|
2020-07-06 16:38:22 +00:00
|
|
|
"node-sass": "^4.14.1",
|
2020-01-28 22:47:12 +00:00
|
|
|
"nodemon": "^1.19.4",
|
2019-08-28 20:08:40 +00:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
|
|
"postcss-cssnext": "^3.1.0",
|
|
|
|
"postcss-focus": "^4.0.0",
|
|
|
|
"postcss-loader": "^3.0.0",
|
|
|
|
"postcss-reporter": "^6.0.1",
|
2020-01-28 22:47:12 +00:00
|
|
|
"react-test-renderer": "^16.12.0",
|
|
|
|
"rimraf": "^2.7.1",
|
2019-01-16 22:56:18 +00:00
|
|
|
"sass-loader": "^6.0.7",
|
2020-01-19 21:05:16 +00:00
|
|
|
"storybook-addon-theme-playground": "^1.2.0",
|
2020-01-28 22:47:12 +00:00
|
|
|
"style-loader": "^1.1.3",
|
|
|
|
"terser-webpack-plugin": "^1.4.3",
|
2020-02-25 22:14:50 +00:00
|
|
|
"webpack-cli": "^3.3.11",
|
2020-01-28 22:47:12 +00:00
|
|
|
"webpack-manifest-plugin": "^2.2.0",
|
2018-05-04 00:20:40 +00:00
|
|
|
"webpack-node-externals": "^1.7.2"
|
2016-05-03 04:09:16 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2020-02-25 22:14:50 +00:00
|
|
|
"node": "12.16.1",
|
|
|
|
"npm": "6.13.4"
|
2016-05-03 04:09:16 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-02-25 22:14:50 +00:00
|
|
|
"@auth0/s3": "^1.0.0",
|
|
|
|
"@babel/core": "^7.8.4",
|
2020-01-28 22:47:12 +00:00
|
|
|
"@babel/polyfill": "^7.8.3",
|
|
|
|
"@babel/register": "^7.8.3",
|
2016-11-02 18:08:53 +00:00
|
|
|
"archiver": "^1.1.0",
|
2020-01-28 22:47:12 +00:00
|
|
|
"async": "^2.6.3",
|
2019-06-18 19:38:21 +00:00
|
|
|
"axios": "^0.18.1",
|
2020-01-19 15:15:45 +00:00
|
|
|
"babel-plugin-styled-components": "^1.10.6",
|
2016-05-17 19:50:37 +00:00
|
|
|
"bcrypt-nodejs": "0.0.3",
|
2016-10-22 20:42:43 +00:00
|
|
|
"blob-util": "^1.2.1",
|
2018-12-15 04:52:26 +00:00
|
|
|
"body-parser": "^1.18.3",
|
2020-01-28 22:47:12 +00:00
|
|
|
"bson-objectid": "^1.3.0",
|
2019-01-16 22:56:18 +00:00
|
|
|
"classnames": "^2.2.6",
|
2017-10-30 18:38:41 +00:00
|
|
|
"clipboard": "^1.7.1",
|
2020-02-25 22:14:50 +00:00
|
|
|
"codemirror": "^5.52.0",
|
2019-01-16 22:56:18 +00:00
|
|
|
"connect-mongo": "^1.3.2",
|
2020-01-28 22:47:12 +00:00
|
|
|
"console-feed": "^2.8.11",
|
2019-01-16 22:56:18 +00:00
|
|
|
"cookie-parser": "^1.4.3",
|
2020-07-10 12:45:35 +00:00
|
|
|
"copy-webpack-plugin": "^6.0.3",
|
2019-01-16 22:56:18 +00:00
|
|
|
"cors": "^2.8.5",
|
2020-01-28 22:47:12 +00:00
|
|
|
"cross-env": "^5.2.1",
|
2020-04-09 22:52:06 +00:00
|
|
|
"csslint": "^1.0.5",
|
2019-03-02 09:35:40 +00:00
|
|
|
"date-fns": "^1.30.1",
|
2017-06-06 02:46:19 +00:00
|
|
|
"decomment": "^0.8.7",
|
2016-06-09 17:56:23 +00:00
|
|
|
"dotenv": "^2.0.0",
|
2016-07-15 23:05:18 +00:00
|
|
|
"dropzone": "^4.3.0",
|
2016-07-11 19:22:29 +00:00
|
|
|
"escape-string-regexp": "^1.0.5",
|
2020-01-28 22:47:12 +00:00
|
|
|
"eslint-loader": "^2.2.1",
|
|
|
|
"express": "^4.17.1",
|
2019-06-05 16:05:31 +00:00
|
|
|
"express-basic-auth": "^1.2.0",
|
2020-01-28 22:47:12 +00:00
|
|
|
"express-session": "^1.17.0",
|
|
|
|
"friendly-words": "^1.1.10",
|
2018-12-15 04:52:26 +00:00
|
|
|
"htmlhint": "^0.10.1",
|
2020-07-06 09:36:45 +00:00
|
|
|
"i18next": "^19.4.5",
|
|
|
|
"i18next-browser-languagedetector": "^4.2.0",
|
|
|
|
"i18next-http-backend": "^1.0.15",
|
2019-01-16 22:56:18 +00:00
|
|
|
"is-url": "^1.2.4",
|
2020-01-28 22:47:12 +00:00
|
|
|
"jest-express": "^1.11.0",
|
|
|
|
"js-beautify": "^1.10.3",
|
2016-11-16 18:12:36 +00:00
|
|
|
"jsdom": "^9.8.3",
|
2020-01-28 22:47:12 +00:00
|
|
|
"jshint": "^2.11.0",
|
2020-07-13 19:33:34 +00:00
|
|
|
"lodash": "^4.17.19",
|
2018-02-27 17:12:06 +00:00
|
|
|
"loop-protect": "github:catarak/loop-protect",
|
2020-03-27 12:00:50 +00:00
|
|
|
"mime-types": "^2.1.26",
|
2017-06-26 16:48:28 +00:00
|
|
|
"mjml": "^3.3.2",
|
2020-01-28 22:47:12 +00:00
|
|
|
"mockingoose": "^2.13.2",
|
2020-02-25 22:14:50 +00:00
|
|
|
"mongoose": "^5.9.2",
|
2016-07-15 23:05:18 +00:00
|
|
|
"node-uuid": "^1.4.7",
|
2016-10-12 16:02:46 +00:00
|
|
|
"nodemailer": "^2.6.4",
|
2018-12-15 04:52:26 +00:00
|
|
|
"nodemailer-mailgun-transport": "^1.4.0",
|
2016-05-17 19:50:37 +00:00
|
|
|
"passport": "^0.3.2",
|
2016-06-09 17:56:23 +00:00
|
|
|
"passport-github": "^1.1.0",
|
2018-04-18 20:38:02 +00:00
|
|
|
"passport-google-oauth20": "^1.0.0",
|
2018-11-06 16:28:17 +00:00
|
|
|
"passport-http": "^0.3.0",
|
2016-05-17 19:50:37 +00:00
|
|
|
"passport-local": "^1.0.0",
|
2017-07-11 16:08:57 +00:00
|
|
|
"pretty-bytes": "^3.0.1",
|
2019-01-16 22:56:18 +00:00
|
|
|
"primer-tooltips": "^1.5.11",
|
|
|
|
"prop-types": "^15.6.2",
|
2017-03-23 18:53:16 +00:00
|
|
|
"q": "^1.4.1",
|
2020-01-28 22:47:12 +00:00
|
|
|
"react": "^16.12.0",
|
|
|
|
"react-dom": "^16.12.0",
|
2017-06-06 02:37:41 +00:00
|
|
|
"react-helmet": "^5.1.3",
|
2020-01-28 22:47:12 +00:00
|
|
|
"react-hot-loader": "^4.12.19",
|
2020-07-06 09:36:45 +00:00
|
|
|
"react-i18next": "^11.5.0",
|
2020-07-16 23:47:38 +00:00
|
|
|
"react-redux": "^7.2.0",
|
2020-08-19 20:48:09 +00:00
|
|
|
"react-responsive": "^8.1.0",
|
2020-01-28 22:47:12 +00:00
|
|
|
"react-router": "^3.2.5",
|
|
|
|
"react-split-pane": "^0.1.89",
|
|
|
|
"react-tabs": "^2.3.1",
|
2019-01-16 22:56:18 +00:00
|
|
|
"redux": "^3.7.2",
|
2019-09-19 17:38:27 +00:00
|
|
|
"redux-auth-wrapper": "^2.1.0",
|
2018-12-15 04:52:26 +00:00
|
|
|
"redux-devtools": "^3.4.2",
|
2018-02-07 18:06:07 +00:00
|
|
|
"redux-devtools-dock-monitor": "^1.1.3",
|
|
|
|
"redux-devtools-log-monitor": "^1.4.0",
|
2016-09-02 21:31:07 +00:00
|
|
|
"redux-form": "^5.3.3",
|
2019-01-16 22:56:18 +00:00
|
|
|
"redux-thunk": "^2.3.0",
|
2020-02-25 22:14:50 +00:00
|
|
|
"request": "^2.88.2",
|
2020-01-28 22:47:12 +00:00
|
|
|
"request-promise": "^4.2.5",
|
2019-06-06 21:17:33 +00:00
|
|
|
"reselect": "^4.0.0",
|
2020-09-04 20:08:38 +00:00
|
|
|
"s3-policy-v4": "0.0.3",
|
2018-07-30 16:20:57 +00:00
|
|
|
"sass-extract": "^2.1.0",
|
|
|
|
"sass-extract-js": "^0.4.0",
|
|
|
|
"sass-extract-loader": "^1.1.0",
|
2020-01-28 22:47:12 +00:00
|
|
|
"shortid": "^2.2.15",
|
|
|
|
"sinon": "^7.5.0",
|
2019-06-12 09:27:28 +00:00
|
|
|
"sinon-mongoose": "^2.3.0",
|
2020-01-28 22:47:12 +00:00
|
|
|
"slugify": "^1.3.6",
|
2016-07-14 01:50:59 +00:00
|
|
|
"srcdoc-polyfill": "^0.2.0",
|
2020-01-19 15:15:45 +00:00
|
|
|
"styled-components": "^5.0.0",
|
2020-01-19 21:05:16 +00:00
|
|
|
"styled-theming": "^2.2.0",
|
2017-04-20 18:05:15 +00:00
|
|
|
"url": "^0.11.0",
|
2020-02-25 22:14:50 +00:00
|
|
|
"webpack": "^4.41.6",
|
2018-05-09 00:57:16 +00:00
|
|
|
"webpack-dev-middleware": "^2.0.6",
|
2019-01-16 22:56:18 +00:00
|
|
|
"webpack-hot-middleware": "^2.24.3",
|
|
|
|
"xhr": "^2.5.0"
|
2016-05-03 04:09:16 +00:00
|
|
|
}
|
|
|
|
}
|