p5.js-web-editor/package.json

187 lines
6.7 KiB
JSON
Raw Normal View History

2016-05-03 06:09:16 +02:00
{
"name": "p5.js-web-editor",
"version": "0.0.1",
"description": "The web editor for p5.js.",
"scripts": {
"clean": "rimraf dist",
"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 21:18:58 +01:00
"lint": "eslint client server --ext .jsx --ext .js",
"lint-fix": "eslint client server --ext .jsx --ext .js --fix",
"build": "npm run build:client && npm run build:server && npm run build:examples",
"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-28 01:22:54 +02:00
"test": "jest",
"test:ci": "npm run lint && npm run test",
"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",
"fetch-examples-ml5": "cross-env NODE_ENV=development node ./server/scripts/fetch-examples-ml5.js",
"fetch-examples:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples.bundle.js",
2018-12-10 00:34:15 +01:00
"fetch-examples-gg:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples-gg.bundle.js",
"fetch-examples-ml5:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples-ml5.bundle.js",
2018-12-10 00:34:15 +01:00
"heroku-postbuild": "touch .env; npm run build"
2016-05-03 06:09:16 +02:00
},
2018-10-28 01:22:54 +02:00
"jest": {
"setupFiles": [
"<rootDir>/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"
}
},
2016-06-28 23:26:53 +02:00
"main": "index.js",
2016-05-03 06:09:16 +02:00
"author": "Cassie Tarakajian",
2018-05-08 22:36:06 +02:00
"license": "LGPL-2.1",
"repository": {
"type": "git",
2016-06-24 00:29:55 +02:00
"url": "git+https://github.com/catarak/p5.js-web-editor.git"
},
2016-05-03 06:09:16 +02:00
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-proposal-do-expressions": "^7.2.0",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-function-bind": "^7.2.0",
"@babel/plugin-proposal-function-sent": "^7.2.0",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.2.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-proposal-pipeline-operator": "^7.3.2",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
"@babel/plugin-transform-react-inline-elements": "^7.2.0",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.2.12",
"css-loader": "^3.2.0",
"cssnano": "^4.1.10",
2018-10-28 01:22:54 +02:00
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "^4.19.1",
2018-05-05 02:22:39 +02:00
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.12.3",
"file-loader": "^2.0.0",
"jest": "^24.8.0",
"mini-css-extract-plugin": "^0.8.0",
2018-12-15 05:52:26 +01:00
"node-sass": "^4.11.0",
"nodemon": "^1.18.9",
"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",
"react-test-renderer": "^16.6.0",
"rimraf": "^2.6.3",
"sass-loader": "^6.0.7",
"style-loader": "^1.0.0",
"terser-webpack-plugin": "^1.4.1",
"webpack-cli": "^3.3.7",
"webpack-manifest-plugin": "^2.0.4",
2018-05-04 02:20:40 +02:00
"webpack-node-externals": "^1.7.2"
2016-05-03 06:09:16 +02:00
},
"engines": {
2019-01-24 23:33:42 +01:00
"node": "10.15.0",
"npm": "6.4.1"
2016-05-03 06:09:16 +02:00
},
"dependencies": {
"@babel/core": "^7.4.5",
"@babel/polyfill": "^7.4.4",
"@babel/register": "^7.4.4",
"archiver": "^1.1.0",
"async": "^2.6.1",
2019-06-18 21:38:21 +02:00
"axios": "^0.18.1",
"bcrypt-nodejs": "0.0.3",
"blob-util": "^1.2.1",
2018-12-15 05:52:26 +01:00
"body-parser": "^1.18.3",
"bson-objectid": "^1.2.4",
"classnames": "^2.2.6",
2017-10-30 19:38:41 +01:00
"clipboard": "^1.7.1",
"codemirror": "^5.42.2",
"connect-mongo": "^1.3.2",
"console-feed": "^2.8.10",
"cookie-parser": "^1.4.3",
"cors": "^2.8.5",
"cross-env": "^5.2.0",
"csslint": "^0.10.0",
2019-03-02 10:35:40 +01:00
"date-fns": "^1.30.1",
"decomment": "^0.8.7",
2016-06-09 19:56:23 +02:00
"dotenv": "^2.0.0",
2016-07-16 01:05:18 +02:00
"dropzone": "^4.3.0",
2016-07-11 21:22:29 +02:00
"escape-string-regexp": "^1.0.5",
"eslint-loader": "^2.1.2",
2018-12-15 05:52:26 +01:00
"express": "^4.16.4",
"express-basic-auth": "^1.2.0",
2018-12-15 05:52:26 +01:00
"express-session": "^1.15.6",
2019-04-11 22:25:37 +02:00
"friendly-words": "^1.1.3",
2018-12-15 05:52:26 +01:00
"htmlhint": "^0.10.1",
"is-url": "^1.2.4",
"jest-express": "^1.10.1",
"js-beautify": "^1.8.9",
cool to share some of this code between client and server Squashed commit of the following: commit fb5e82cea930b011792983c7d1cc9f6ecacc7dd4 Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Wed Nov 16 12:28:10 2016 -0500 add server side rendering, untested commit 5c60fb30c46ea49a8d9a0ecb56f39ec778464a8b Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Tue Nov 15 18:26:06 2016 -0500 add redux-form bandage post react update, should probably update to redux-form 6 at some point commit 057b5871e7137179abc93f7821a9690f0ea52c92 Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Tue Nov 15 16:30:09 2016 -0500 remove passing jsFiles and cssFiles to PreviewFrame, fix rendering bug commit 88c56fd36d3a8d88902c79642171988ce37825f2 Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Tue Nov 15 16:21:59 2016 -0500 code cleanup, untested commit 82e5dcf8bca461892f1daf06d38f1eaebe72983f Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Tue Nov 15 15:53:50 2016 -0500 update react and react router, fix a few bugs in rendering code, add ability to parse inline js and css commit e02f4b67803ea45328eff4e53659222f3149964c Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Tue Nov 15 14:43:38 2016 -0500 add almost full code to create preview html correctly, untested commit 12f61b2a1aed4607fab24d01572b647ca6210262 Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Wed Nov 2 17:09:26 2016 -0400 refactor some of the preview html generation code commit 111825846703d5c8959cb18795a3aadb7ebe505c Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Wed Nov 2 11:06:36 2016 -0400 add comments as plan of action commit 1cc2cf5203674732b4057382f1937de38b687078 Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Thu Oct 27 19:34:55 2016 -0400 add href parsing commit e67189298cda9b70645f454ecd541a363980f0e4 Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Thu Oct 27 10:48:36 2016 -0400 continue parsing html commit 1458fb940a15a3dc5d74890211a3073e920b84b8 Author: Cassie Tarakajian <ctarakajian@gmail.com> Date: Wed Oct 26 17:40:31 2016 -0400 start to add html parsing
2016-11-16 19:12:36 +01:00
"jsdom": "^9.8.3",
2019-02-25 22:52:07 +01:00
"jshint": "^2.10.1",
"lodash": "^4.17.15",
"loop-protect": "github:catarak/loop-protect",
Email verification (#369) * Re-introduce Email Verification code Revert "Revert "Email verification"" This reverts commit d154d8bff259350523a0f139e844db96c43d2ee1. * Uses MJML to generate Reset Password email * Sends Password Reset and Email Confirmation emails using MJML template * Sends verified status along with user data * API endpoint for resending email verification confirmation * Displays verification status on Account page and allows resending * Send back error string * Passes email address through to sign/verify helper * Uses enum-style object to set verified state * Sends minimal info when user verifies since it can be done without login * Provides /verify UI and sends confirmation token to API * Better name for JWT secret token env var * Adds mail config variables to Readme * Encrypts email address in JWT The JWT sent as the token in the Confirm Password URL can be unencoded by anyone, although it's signature can only be verified by us. To ensure that no passwords are leaked, we encrypt the email address before creating the token. * Removes unused mail templates * Resets verified flag when email is changed and sends another email * Moves email confirmation functions next to each other * Extracts random token generator to helper * Moves email confirmation actions into Redux - updates the AccountForm label with a message to check inbox - show status when verifying email token * Uses generated token stored in DB for email confirmation * Sets email confirmation status to verified if logging in from Github * Sends email using new method on account creation * Fixes linting errors * Removes replyTo config
2017-06-26 18:48:28 +02:00
"mjml": "^3.3.2",
"mockingoose": "^2.13.0",
2018-08-31 03:00:29 +02:00
"mongoose": "^4.6.8",
2016-07-16 01:05:18 +02:00
"node-uuid": "^1.4.7",
2016-10-12 18:02:46 +02:00
"nodemailer": "^2.6.4",
2018-12-15 05:52:26 +01:00
"nodemailer-mailgun-transport": "^1.4.0",
"passport": "^0.3.2",
2016-06-09 19:56:23 +02:00
"passport-github": "^1.1.0",
"passport-google-oauth20": "^1.0.0",
2018-11-06 17:28:17 +01:00
"passport-http": "^0.3.0",
"passport-local": "^1.0.0",
"pretty-bytes": "^3.0.1",
"primer-tooltips": "^1.5.11",
"prop-types": "^15.6.2",
"q": "^1.4.1",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-helmet": "^5.1.3",
"react-hot-loader": "^4.6.3",
"react-inlinesvg": "^0.7.5",
"react-redux": "^5.1.1",
"react-router": "^3.2.1",
2019-03-05 22:25:34 +01:00
"react-split-pane": "^0.1.85",
"react-tabs": "^2.3.0",
"redux": "^3.7.2",
"redux-auth-wrapper": "^2.1.0",
2018-12-15 05:52:26 +01:00
"redux-devtools": "^3.4.2",
"redux-devtools-dock-monitor": "^1.1.3",
"redux-devtools-log-monitor": "^1.4.0",
"redux-form": "^5.3.3",
"redux-thunk": "^2.3.0",
2018-12-15 05:52:26 +01:00
"request": "^2.88.0",
"request-promise": "^4.1.1",
"reselect": "^4.0.0",
"s3": "^4.4.0",
2016-07-16 01:05:18 +02:00
"s3-policy": "^0.2.0",
"sass-extract": "^2.1.0",
"sass-extract-js": "^0.4.0",
"sass-extract-loader": "^1.1.0",
"shortid": "^2.2.14",
"sinon": "^7.3.2",
"sinon-mongoose": "^2.3.0",
"slugify": "^1.3.4",
2016-07-14 03:50:59 +02:00
"srcdoc-polyfill": "^0.2.0",
"url": "^0.11.0",
"webpack": "^4.39.2",
2018-05-09 02:57:16 +02:00
"webpack-dev-middleware": "^2.0.6",
"webpack-hot-middleware": "^2.24.3",
"xhr": "^2.5.0"
2016-05-03 06:09:16 +02:00
}
}