a6d4d4ea36
* Add Portugese, Brazil to language options * Upgrade date-fns package Co-authored-by: Tom Moor <tom.moor@gmail.com>
234 lines
7.4 KiB
JSON
234 lines
7.4 KiB
JSON
{
|
|
"name": "outline",
|
|
"private": true,
|
|
"license": "Business Source License 1.1",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"clean": "rimraf build",
|
|
"build:i18n": "i18next 'app/**/*.js' 'server/**/*.js' && mkdir -p ./build/shared/i18n && cp -R ./shared/i18n/locales ./build/shared/i18n",
|
|
"build:server": "babel -d ./build/server ./server && babel -d ./build/shared ./shared && cp package.json ./build && ln -sf \"$(pwd)/webpack.config.dev.js\" ./build",
|
|
"build:webpack": "webpack --config webpack.config.prod.js",
|
|
"build": "yarn clean && yarn build:webpack && yarn build:i18n && yarn build:server",
|
|
"start": "node ./build/server/index.js",
|
|
"dev": "nodemon --exec \"yarn build:server && yarn build:i18n && node --inspect=0.0.0.0 build/server/index.js\" -e js --ignore build/ --ignore app/",
|
|
"lint": "eslint app server shared",
|
|
"deploy": "git push heroku master",
|
|
"heroku-postbuild": "yarn build && yarn db:migrate",
|
|
"sequelize:migrate": "sequelize db:migrate",
|
|
"db:create-migration": "sequelize migration:create",
|
|
"db:migrate": "sequelize db:migrate",
|
|
"db:rollback": "sequelize db:migrate:undo",
|
|
"upgrade": "git fetch && git pull && yarn install && yarn heroku-postbuild",
|
|
"test": "yarn test:app && yarn test:server",
|
|
"test:app": "jest",
|
|
"test:server": "jest --config=server/.jestconfig.json --runInBand --forceExit",
|
|
"test:watch": "jest --config=server/.jestconfig.json --runInBand --forceExit --watchAll"
|
|
},
|
|
"funding": {
|
|
"type": "GitHub Sponsors ❤",
|
|
"url": "https://github.com/sponsors/outline"
|
|
},
|
|
"jest": {
|
|
"testURL": "http://localhost",
|
|
"verbose": false,
|
|
"roots": [
|
|
"app",
|
|
"shared"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^shared/(.*)$": "<rootDir>/shared/$1",
|
|
"^.*[.](gif|ttf|eot|svg)$": "<rootDir>/__test__/fileMock.js"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"moduleDirectories": [
|
|
"node_modules"
|
|
],
|
|
"modulePaths": [
|
|
"app"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/setupJest.js",
|
|
"<rootDir>/__mocks__/window.js"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">= 12 <=16"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/outline/outline.git"
|
|
},
|
|
"browserslist": "> 0.25%, not dead",
|
|
"dependencies": {
|
|
"@babel/core": "^7.11.1",
|
|
"@babel/plugin-proposal-decorators": "^7.10.5",
|
|
"@babel/plugin-transform-destructuring": "^7.10.4",
|
|
"@babel/plugin-transform-regenerator": "^7.10.4",
|
|
"@babel/preset-env": "^7.11.0",
|
|
"@babel/preset-flow": "^7.10.4",
|
|
"@babel/preset-react": "^7.10.4",
|
|
"@outlinewiki/koa-passport": "^4.1.4",
|
|
"@outlinewiki/passport-azure-ad-oauth2": "^0.1.0",
|
|
"@rehooks/window-scroll-position": "^1.0.1",
|
|
"@sentry/node": "^6.3.1",
|
|
"@sentry/react": "^6.3.1",
|
|
"@sentry/tracing": "^6.3.1",
|
|
"@tippy.js/react": "^2.2.2",
|
|
"@tommoor/remove-markdown": "^0.3.2",
|
|
"autotrack": "^2.4.1",
|
|
"aws-sdk": "^2.831.0",
|
|
"babel-plugin-lodash": "^3.3.4",
|
|
"babel-plugin-styled-components": "^1.11.1",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"boundless-arrow-key-navigation": "^1.0.4",
|
|
"boxen": "^5.0.1",
|
|
"bull": "^3.5.2",
|
|
"cancan": "3.1.0",
|
|
"chalk": "^4.1.0",
|
|
"compressorjs": "^1.0.7",
|
|
"copy-to-clipboard": "^3.0.6",
|
|
"core-js": "^3.10.2",
|
|
"date-fns": "2.22.1",
|
|
"dd-trace": "^0.32.2",
|
|
"debug": "^4.1.1",
|
|
"dotenv": "^4.0.0",
|
|
"emoji-regex": "^6.5.1",
|
|
"es6-error": "^4.1.1",
|
|
"exports-loader": "^0.6.4",
|
|
"fetch-with-proxy": "^3.0.1",
|
|
"file-loader": "^1.1.6",
|
|
"flow-typed": "^2.6.2",
|
|
"focus-visible": "^5.1.0",
|
|
"fractional-index": "^1.0.0",
|
|
"fs-extra": "^4.0.2",
|
|
"http-errors": "1.4.0",
|
|
"i18next": "^19.8.3",
|
|
"i18next-http-backend": "^1.0.21",
|
|
"immutable": "^3.8.2",
|
|
"imports-loader": "0.6.5",
|
|
"invariant": "^2.2.2",
|
|
"ioredis": "^4.24.3",
|
|
"isomorphic-fetch": "2.2.1",
|
|
"joplin-turndown-plugin-gfm": "^1.0.12",
|
|
"js-search": "^1.4.2",
|
|
"json-loader": "0.5.4",
|
|
"jsonwebtoken": "^8.5.0",
|
|
"jszip": "^3.5.0",
|
|
"koa": "^2.10.0",
|
|
"koa-body": "^4.2.0",
|
|
"koa-compress": "2.0.0",
|
|
"koa-convert": "1.2.0",
|
|
"koa-helmet": "5.2.0",
|
|
"koa-jwt": "^3.6.0",
|
|
"koa-logger": "^3.2.1",
|
|
"koa-mount": "^3.0.0",
|
|
"koa-onerror": "^4.0.0",
|
|
"koa-router": "7.0.1",
|
|
"koa-sendfile": "2.0.0",
|
|
"koa-sslify": "2.1.2",
|
|
"koa-static": "^4.0.1",
|
|
"lodash": "^4.17.19",
|
|
"mammoth": "^1.4.16",
|
|
"mobx": "4.6.0",
|
|
"mobx-react": "^6.2.5",
|
|
"natural-sort": "^1.0.0",
|
|
"nodemailer": "^6.4.16",
|
|
"outline-icons": "^1.27.0",
|
|
"oy-vey": "^0.10.0",
|
|
"passport": "^0.4.1",
|
|
"passport-google-oauth2": "^0.2.0",
|
|
"passport-slack-oauth2": "^1.1.0",
|
|
"pg": "^8.5.1",
|
|
"pg-hstore": "^2.3.3",
|
|
"polished": "3.6.5",
|
|
"query-string": "^4.3.4",
|
|
"quoted-printable": "^1.0.1",
|
|
"randomstring": "1.1.5",
|
|
"raw-loader": "^0.5.1",
|
|
"react": "^16.8.6",
|
|
"react-autosize-textarea": "^6.0.0",
|
|
"react-avatar-editor": "^10.3.0",
|
|
"react-color": "^2.17.3",
|
|
"react-dnd": "^14.0.1",
|
|
"react-dnd-html5-backend": "^14.0.0",
|
|
"react-dom": "^16.8.6",
|
|
"react-dropzone": "^11.3.2",
|
|
"react-helmet": "^5.2.0",
|
|
"react-i18next": "^11.7.3",
|
|
"react-keydown": "^1.7.3",
|
|
"react-portal": "^4.0.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-table": "^7.7.0",
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
|
"react-waypoint": "^9.0.2",
|
|
"react-window": "^1.8.6",
|
|
"reakit": "^1.3.6",
|
|
"regenerator-runtime": "^0.13.7",
|
|
"rich-markdown-editor": "^11.10.0",
|
|
"semver": "^7.3.2",
|
|
"sequelize": "^6.3.4",
|
|
"sequelize-cli": "^6.2.0",
|
|
"sequelize-encrypted": "^1.0.0",
|
|
"slate": "0.45.0",
|
|
"slate-md-serializer": "5.5.4",
|
|
"slug": "^4.0.4",
|
|
"smooth-scroll-into-view-if-needed": "^1.1.29",
|
|
"socket.io": "^2.3.0",
|
|
"socket.io-redis": "^5.4.0",
|
|
"socketio-auth": "^0.1.1",
|
|
"string-replace-to-array": "^1.0.3",
|
|
"styled-components": "^5.0.0",
|
|
"styled-components-breakpoint": "^2.1.1",
|
|
"styled-normalize": "^8.0.4",
|
|
"tiny-cookie": "^2.3.1",
|
|
"tmp": "^0.2.1",
|
|
"turndown": "^6.0.0",
|
|
"utf8": "^2.1.0",
|
|
"uuid": "^8.3.2",
|
|
"validator": "5.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.10.5",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
|
"@relative-ci/agent": "^2.0.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^26.2.2",
|
|
"babel-loader": "^8.1.0",
|
|
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
|
"eslint": "^7.6.0",
|
|
"eslint-config-react-app": "3.0.6",
|
|
"eslint-plugin-flowtype": "^5.2.0",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"eslint-plugin-jsx-a11y": "^6.1.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-react": "^7.20.0",
|
|
"eslint-plugin-react-hooks": "^4.1.0",
|
|
"fetch-test-server": "^1.1.0",
|
|
"flow-bin": "^0.124.0",
|
|
"html-webpack-plugin": "3.2.0",
|
|
"i18next-parser": "^3.3.0",
|
|
"jest-cli": "^26.0.0",
|
|
"koa-webpack-dev-middleware": "^1.4.5",
|
|
"koa-webpack-hot-middleware": "^1.0.3",
|
|
"nodemon": "^1.19.4",
|
|
"prettier": "^2.0.5",
|
|
"react-refresh": "^0.10.0",
|
|
"rimraf": "^2.5.4",
|
|
"terser-webpack-plugin": "^4.1.0",
|
|
"url-loader": "^0.6.2",
|
|
"webpack": "4.44.1",
|
|
"webpack-cli": "^3.3.12",
|
|
"webpack-manifest-plugin": "^3.0.0",
|
|
"webpack-pwa-manifest": "^4.3.0",
|
|
"workbox-webpack-plugin": "^6.1.0"
|
|
},
|
|
"resolutions": {
|
|
"dot-prop": "^5.2.0",
|
|
"js-yaml": "^3.13.1"
|
|
},
|
|
"version": "0.56.0"
|
|
} |