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": {
|
2018-05-04 23:05:24 +02:00
|
|
|
"clean": "rimraf dist",
|
2018-02-06 17:53:15 +01: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 21:18:58 +01:00
|
|
|
"lint": "eslint client server --ext .jsx --ext .js",
|
|
|
|
"lint-fix": "eslint client server --ext .jsx --ext .js --fix",
|
2018-06-15 22:51:42 +02:00
|
|
|
"build": "npm run build:client && npm run build:server && npm run build:examples",
|
2018-09-26 22:14:06 +02: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-28 01:22:54 +02:00
|
|
|
"test": "jest",
|
2019-05-24 18:16:15 +02:00
|
|
|
"test:ci": "npm run lint && npm run test",
|
2018-08-09 19:58:48 +02: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 21:12:06 +02:00
|
|
|
"fetch-examples-ml5": "cross-env NODE_ENV=development node ./server/scripts/fetch-examples-ml5.js",
|
2018-08-09 19:58:48 +02:00
|
|
|
"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",
|
2019-05-02 21:12:06 +02:00
|
|
|
"fetch-examples-ml5:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples-ml5.bundle.js",
|
2020-04-30 09:01:04 +02:00
|
|
|
"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",
|
2016-06-23 01:59:12 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2016-06-24 00:29:55 +02:00
|
|
|
"url": "git+https://github.com/catarak/p5.js-web-editor.git"
|
2016-06-23 01:59:12 +02:00
|
|
|
},
|
2016-05-03 06:09:16 +02:00
|
|
|
"devDependencies": {
|
2020-01-28 23:47:12 +01: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 23:14:50 +01:00
|
|
|
"@babel/preset-env": "^7.8.4",
|
2020-01-28 23:47:12 +01:00
|
|
|
"@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",
|
2019-06-05 18:05:31 +02:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
|
|
"babel-eslint": "^9.0.0",
|
2020-01-28 23:47:12 +01:00
|
|
|
"babel-jest": "^24.9.0",
|
2019-06-05 18:05:31 +02:00
|
|
|
"babel-loader": "^8.0.0",
|
2019-01-16 23:56:18 +01:00
|
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.2.12",
|
2020-01-28 23:47:12 +01:00
|
|
|
"css-loader": "^3.4.2",
|
2019-08-28 22:08:40 +02:00
|
|
|
"cssnano": "^4.1.10",
|
2020-01-28 23:47:12 +01:00
|
|
|
"enzyme": "^3.11.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.15.2",
|
2019-06-05 18:05:31 +02:00
|
|
|
"eslint": "^4.19.1",
|
2018-05-05 02:22:39 +02:00
|
|
|
"eslint-config-airbnb": "^16.1.0",
|
2020-05-26 23:55:29 +02:00
|
|
|
"eslint-plugin-import": "^2.20.2",
|
2020-01-28 23:47:12 +01:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
2020-02-25 23:14:50 +01:00
|
|
|
"eslint-plugin-react": "^7.18.3",
|
2018-10-03 03:03:33 +02:00
|
|
|
"file-loader": "^2.0.0",
|
2020-04-15 22:31:15 +02:00
|
|
|
"husky": "^4.2.5",
|
2020-01-28 23:47:12 +01:00
|
|
|
"jest": "^24.9.0",
|
2020-04-15 22:31:15 +02:00
|
|
|
"lint-staged": "^10.1.3",
|
2020-01-28 23:47:12 +01:00
|
|
|
"mini-css-extract-plugin": "^0.8.2",
|
|
|
|
"node-sass": "^4.13.1",
|
|
|
|
"nodemon": "^1.19.4",
|
2019-08-28 22:08:40 +02: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 23:47:12 +01:00
|
|
|
"react-test-renderer": "^16.12.0",
|
|
|
|
"rimraf": "^2.7.1",
|
2019-01-16 23:56:18 +01:00
|
|
|
"sass-loader": "^6.0.7",
|
2020-01-19 22:05:16 +01:00
|
|
|
"storybook-addon-theme-playground": "^1.2.0",
|
2020-01-28 23:47:12 +01:00
|
|
|
"style-loader": "^1.1.3",
|
|
|
|
"terser-webpack-plugin": "^1.4.3",
|
2020-02-25 23:14:50 +01:00
|
|
|
"webpack-cli": "^3.3.11",
|
2020-01-28 23:47:12 +01:00
|
|
|
"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": {
|
2020-02-25 23:14:50 +01:00
|
|
|
"node": "12.16.1",
|
|
|
|
"npm": "6.13.4"
|
2016-05-03 06:09:16 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-02-25 23:14:50 +01:00
|
|
|
"@auth0/s3": "^1.0.0",
|
|
|
|
"@babel/core": "^7.8.4",
|
2020-01-28 23:47:12 +01:00
|
|
|
"@babel/polyfill": "^7.8.3",
|
|
|
|
"@babel/register": "^7.8.3",
|
2016-11-02 19:08:53 +01:00
|
|
|
"archiver": "^1.1.0",
|
2020-01-28 23:47:12 +01:00
|
|
|
"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",
|
2016-05-17 21:50:37 +02:00
|
|
|
"bcrypt-nodejs": "0.0.3",
|
2016-10-22 22:42:43 +02:00
|
|
|
"blob-util": "^1.2.1",
|
2018-12-15 05:52:26 +01:00
|
|
|
"body-parser": "^1.18.3",
|
2020-01-28 23:47:12 +01:00
|
|
|
"bson-objectid": "^1.3.0",
|
2019-01-16 23:56:18 +01:00
|
|
|
"classnames": "^2.2.6",
|
2017-10-30 19:38:41 +01:00
|
|
|
"clipboard": "^1.7.1",
|
2020-02-25 23:14:50 +01:00
|
|
|
"codemirror": "^5.52.0",
|
2019-01-16 23:56:18 +01:00
|
|
|
"connect-mongo": "^1.3.2",
|
2020-01-28 23:47:12 +01:00
|
|
|
"console-feed": "^2.8.11",
|
2019-01-16 23:56:18 +01:00
|
|
|
"cookie-parser": "^1.4.3",
|
|
|
|
"cors": "^2.8.5",
|
2020-01-28 23:47:12 +01:00
|
|
|
"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",
|
2017-06-06 04:46:19 +02:00
|
|
|
"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",
|
2020-01-28 23:47:12 +01:00
|
|
|
"eslint-loader": "^2.2.1",
|
|
|
|
"express": "^4.17.1",
|
2019-06-05 18:05:31 +02:00
|
|
|
"express-basic-auth": "^1.2.0",
|
2020-01-28 23:47:12 +01:00
|
|
|
"express-session": "^1.17.0",
|
|
|
|
"friendly-words": "^1.1.10",
|
2018-12-15 05:52:26 +01:00
|
|
|
"htmlhint": "^0.10.1",
|
2019-01-16 23:56:18 +01:00
|
|
|
"is-url": "^1.2.4",
|
2020-01-28 23:47:12 +01:00
|
|
|
"jest-express": "^1.11.0",
|
|
|
|
"js-beautify": "^1.10.3",
|
2016-11-16 19:12:36 +01:00
|
|
|
"jsdom": "^9.8.3",
|
2020-01-28 23:47:12 +01:00
|
|
|
"jshint": "^2.11.0",
|
2019-08-28 22:08:40 +02:00
|
|
|
"lodash": "^4.17.15",
|
2018-02-27 18:12:06 +01:00
|
|
|
"loop-protect": "github:catarak/loop-protect",
|
2020-03-27 13:00:50 +01:00
|
|
|
"mime-types": "^2.1.26",
|
2017-06-26 18:48:28 +02:00
|
|
|
"mjml": "^3.3.2",
|
2020-01-28 23:47:12 +01:00
|
|
|
"mockingoose": "^2.13.2",
|
2020-02-25 23:14:50 +01:00
|
|
|
"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",
|
2016-05-17 21:50:37 +02:00
|
|
|
"passport": "^0.3.2",
|
2016-06-09 19:56:23 +02:00
|
|
|
"passport-github": "^1.1.0",
|
2018-04-18 22:38:02 +02:00
|
|
|
"passport-google-oauth20": "^1.0.0",
|
2018-11-06 17:28:17 +01:00
|
|
|
"passport-http": "^0.3.0",
|
2016-05-17 21:50:37 +02:00
|
|
|
"passport-local": "^1.0.0",
|
2017-07-11 18:08:57 +02:00
|
|
|
"pretty-bytes": "^3.0.1",
|
2019-01-16 23:56:18 +01:00
|
|
|
"primer-tooltips": "^1.5.11",
|
|
|
|
"prop-types": "^15.6.2",
|
2017-03-23 19:53:16 +01:00
|
|
|
"q": "^1.4.1",
|
2020-01-28 23:47:12 +01:00
|
|
|
"react": "^16.12.0",
|
|
|
|
"react-dom": "^16.12.0",
|
2017-06-06 04:37:41 +02:00
|
|
|
"react-helmet": "^5.1.3",
|
2020-01-28 23:47:12 +01:00
|
|
|
"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",
|
2019-01-16 23:56:18 +01:00
|
|
|
"redux": "^3.7.2",
|
2019-09-19 19:38:27 +02:00
|
|
|
"redux-auth-wrapper": "^2.1.0",
|
2018-12-15 05:52:26 +01:00
|
|
|
"redux-devtools": "^3.4.2",
|
2018-02-07 19:06:07 +01:00
|
|
|
"redux-devtools-dock-monitor": "^1.1.3",
|
|
|
|
"redux-devtools-log-monitor": "^1.4.0",
|
2016-09-02 23:31:07 +02:00
|
|
|
"redux-form": "^5.3.3",
|
2019-01-16 23:56:18 +01:00
|
|
|
"redux-thunk": "^2.3.0",
|
2020-02-25 23:14:50 +01:00
|
|
|
"request": "^2.88.2",
|
2020-01-28 23:47:12 +01:00
|
|
|
"request-promise": "^4.2.5",
|
2019-06-06 23:17:33 +02:00
|
|
|
"reselect": "^4.0.0",
|
2016-07-16 01:05:18 +02:00
|
|
|
"s3-policy": "^0.2.0",
|
2018-07-30 18:20:57 +02:00
|
|
|
"sass-extract": "^2.1.0",
|
|
|
|
"sass-extract-js": "^0.4.0",
|
|
|
|
"sass-extract-loader": "^1.1.0",
|
2020-01-28 23:47:12 +01:00
|
|
|
"shortid": "^2.2.15",
|
|
|
|
"sinon": "^7.5.0",
|
2019-06-12 11:27:28 +02:00
|
|
|
"sinon-mongoose": "^2.3.0",
|
2020-01-28 23:47:12 +01:00
|
|
|
"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",
|
2017-04-20 20:05:15 +02:00
|
|
|
"url": "^0.11.0",
|
2020-02-25 23:14:50 +01:00
|
|
|
"webpack": "^4.41.6",
|
2018-05-09 02:57:16 +02:00
|
|
|
"webpack-dev-middleware": "^2.0.6",
|
2019-01-16 23:56:18 +01:00
|
|
|
"webpack-hot-middleware": "^2.24.3",
|
|
|
|
"xhr": "^2.5.0"
|
2016-05-03 06:09:16 +02:00
|
|
|
}
|
|
|
|
}
|