p5.js-web-editor/package.json

213 lines
7.5 KiB
JSON
Raw Normal View History

2016-05-03 06:09:16 +02:00
{
"name": "p5.js-web-editor",
2020-06-10 20:34:13 +02:00
"version": "1.0.3",
2016-05-03 06:09:16 +02:00
"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",
"update-syntax-highlighting": "node ./server/scripts/update-syntax-highlighting.js",
2020-01-19 16:31:13 +01:00
"heroku-postbuild": "touch .env; npm run build",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
2016-05-03 06:09:16 +02:00
},
2020-04-12 20:52:17 +02:00
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"npm run lint-fix"
]
},
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.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",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
2020-01-19 16:31:13 +01:00
"@storybook/addon-actions": "^5.3.6",
2020-01-19 17:46:09 +01:00
"@storybook/addon-docs": "^5.3.6",
"@storybook/addon-knobs": "^5.3.6",
2020-01-19 16:31:13 +01:00
"@storybook/addon-links": "^5.3.6",
"@storybook/addons": "^5.3.6",
"@storybook/react": "^5.3.6",
2020-04-30 00:34:37 +02:00
"@svgr/webpack": "^5.4.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.2.12",
"css-loader": "^3.4.2",
"cssnano": "^4.1.10",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^4.19.1",
2018-05-05 02:22:39 +02:00
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.3",
"file-loader": "^2.0.0",
"husky": "^4.2.5",
"jest": "^24.9.0",
"lint-staged": "^10.1.3",
"mini-css-extract-plugin": "^0.8.2",
"node-sass": "^4.13.1",
"nodemon": "^1.19.4",
"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.12.0",
"rimraf": "^2.7.1",
"sass-loader": "^6.0.7",
2020-01-19 22:05:16 +01:00
"storybook-addon-theme-playground": "^1.2.0",
"style-loader": "^1.1.3",
"terser-webpack-plugin": "^1.4.3",
"webpack-cli": "^3.3.11",
"webpack-manifest-plugin": "^2.2.0",
2018-05-04 02:20:40 +02:00
"webpack-node-externals": "^1.7.2"
2016-05-03 06:09:16 +02:00
},
"engines": {
"node": "12.16.1",
"npm": "6.13.4"
2016-05-03 06:09:16 +02:00
},
"dependencies": {
"@auth0/s3": "^1.0.0",
"@babel/core": "^7.8.4",
"@babel/polyfill": "^7.8.3",
"@babel/register": "^7.8.3",
"archiver": "^1.1.0",
"async": "^2.6.3",
2019-06-18 21:38:21 +02:00
"axios": "^0.18.1",
2020-01-19 16:15:45 +01:00
"babel-plugin-styled-components": "^1.10.6",
"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.3.0",
"classnames": "^2.2.6",
2017-10-30 19:38:41 +01:00
"clipboard": "^1.7.1",
"codemirror": "^5.52.0",
"connect-mongo": "^1.3.2",
"console-feed": "^2.8.11",
"cookie-parser": "^1.4.3",
"cors": "^2.8.5",
"cross-env": "^5.2.1",
2020-04-10 00:52:06 +02:00
"csslint": "^1.0.5",
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.2.1",
"express": "^4.17.1",
"express-basic-auth": "^1.2.0",
"express-session": "^1.17.0",
"friendly-words": "^1.1.10",
2018-12-15 05:52:26 +01:00
"htmlhint": "^0.10.1",
"is-url": "^1.2.4",
"jest-express": "^1.11.0",
"js-beautify": "^1.10.3",
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",
"jshint": "^2.11.0",
"lodash": "^4.17.15",
"loop-protect": "github:catarak/loop-protect",
"mime-types": "^2.1.26",
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.2",
"mongoose": "^5.9.2",
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.12.0",
"react-dom": "^16.12.0",
"react-helmet": "^5.1.3",
"react-hot-loader": "^4.12.19",
"react-redux": "^5.1.2",
"react-router": "^3.2.5",
"react-split-pane": "^0.1.89",
"react-tabs": "^2.3.1",
"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",
"request": "^2.88.2",
"request-promise": "^4.2.5",
"reselect": "^4.0.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.15",
"sinon": "^7.5.0",
"sinon-mongoose": "^2.3.0",
"slugify": "^1.3.6",
2016-07-14 03:50:59 +02:00
"srcdoc-polyfill": "^0.2.0",
2020-01-19 16:15:45 +01:00
"styled-components": "^5.0.0",
2020-01-19 22:05:16 +01:00
"styled-theming": "^2.2.0",
"url": "^0.11.0",
"webpack": "^4.41.6",
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
}
}