2020-01-02 02:04:47 +01:00
|
|
|
{
|
2020-03-25 16:42:16 +01:00
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not ie <= 11",
|
|
|
|
"not op_mini all",
|
|
|
|
"not safari < 12",
|
|
|
|
"not kaios <= 2.5",
|
|
|
|
"not edge < 79",
|
|
|
|
"not chrome < 70",
|
|
|
|
"not and_uc < 13",
|
|
|
|
"not samsung < 10"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
},
|
2020-01-02 02:04:47 +01:00
|
|
|
"dependencies": {
|
2020-12-14 06:59:48 +01:00
|
|
|
"@sentry/browser": "5.29.0",
|
2020-12-14 04:27:54 +01:00
|
|
|
"@sentry/integrations": "5.29.0",
|
2020-11-18 13:47:56 +01:00
|
|
|
"@testing-library/jest-dom": "5.11.6",
|
2020-11-23 10:43:36 +01:00
|
|
|
"@testing-library/react": "11.2.2",
|
2020-12-14 06:59:56 +01:00
|
|
|
"@types/jest": "26.0.19",
|
2020-05-07 23:13:18 +02:00
|
|
|
"@types/nanoid": "2.1.0",
|
2020-11-23 10:48:20 +01:00
|
|
|
"@types/react": "17.0.0",
|
2020-11-23 10:42:40 +01:00
|
|
|
"@types/react-dom": "17.0.0",
|
2020-10-05 16:37:14 +02:00
|
|
|
"@types/socket.io-client": "1.4.34",
|
2020-12-14 04:28:16 +01:00
|
|
|
"browser-nativefs": "0.11.2",
|
2020-10-19 16:14:28 +02:00
|
|
|
"clsx": "1.1.1",
|
2020-12-14 16:15:16 +01:00
|
|
|
"firebase": "8.2.0",
|
2020-08-25 12:38:26 +02:00
|
|
|
"i18next-browser-languagedetector": "6.0.1",
|
2020-05-07 23:13:18 +02:00
|
|
|
"lodash.throttle": "4.1.1",
|
2020-02-03 09:58:56 +01:00
|
|
|
"nanoid": "2.1.11",
|
2020-05-11 20:01:42 +02:00
|
|
|
"node-sass": "4.14.1",
|
2020-04-11 00:09:29 +02:00
|
|
|
"open-color": "1.7.0",
|
2020-10-15 21:31:21 +02:00
|
|
|
"pako": "1.0.11",
|
2020-10-13 14:47:07 +02:00
|
|
|
"png-chunk-text": "1.0.0",
|
|
|
|
"png-chunks-encode": "1.0.0",
|
|
|
|
"png-chunks-extract": "1.0.0",
|
2020-04-20 19:43:06 +02:00
|
|
|
"points-on-curve": "0.2.0",
|
2020-08-31 17:13:01 +02:00
|
|
|
"pwacompat": "2.0.17",
|
2020-10-28 03:01:53 +01:00
|
|
|
"react": "17.0.1",
|
|
|
|
"react-dom": "17.0.1",
|
2020-11-23 10:32:24 +01:00
|
|
|
"react-scripts": "4.0.1",
|
2020-05-12 21:10:11 +02:00
|
|
|
"roughjs": "4.3.1",
|
2020-11-08 23:21:34 +01:00
|
|
|
"socket.io-client": "2.3.1",
|
2020-12-14 04:28:55 +01:00
|
|
|
"typescript": "4.1.3"
|
2020-04-29 07:53:07 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-05-07 23:13:18 +02:00
|
|
|
"@types/lodash.throttle": "4.1.6",
|
2020-10-15 21:31:21 +02:00
|
|
|
"@types/pako": "1.0.1",
|
2020-12-07 08:56:51 +01:00
|
|
|
"eslint-config-prettier": "7.0.0",
|
2020-12-14 04:28:40 +01:00
|
|
|
"eslint-plugin-prettier": "3.3.0",
|
2020-12-14 16:15:38 +01:00
|
|
|
"firebase-tools": "8.19.0",
|
2020-12-14 04:29:16 +01:00
|
|
|
"husky": "4.3.6",
|
2020-10-05 16:37:10 +02:00
|
|
|
"jest-canvas-mock": "2.3.0",
|
2020-12-07 08:57:19 +01:00
|
|
|
"lint-staged": "10.5.3",
|
2020-12-14 04:29:51 +01:00
|
|
|
"pepjs": "0.5.3",
|
2020-12-01 14:33:38 +01:00
|
|
|
"prettier": "2.2.1",
|
2020-04-29 07:53:07 +02:00
|
|
|
"rewire": "5.0.0"
|
2020-01-02 02:04:47 +01:00
|
|
|
},
|
2020-03-25 18:10:05 +01:00
|
|
|
"engines": {
|
|
|
|
"node": ">=12.0.0"
|
2020-02-11 23:19:43 +01:00
|
|
|
},
|
2020-03-30 16:52:48 +02:00
|
|
|
"homepage": ".",
|
2020-01-02 20:03:48 +01:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
2020-03-25 18:10:05 +01:00
|
|
|
"jest": {
|
|
|
|
"transformIgnorePatterns": [
|
2020-04-20 19:43:06 +02:00
|
|
|
"node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-nativefs)/)"
|
2020-10-28 17:28:07 +01:00
|
|
|
],
|
|
|
|
"resetMocks": false
|
2020-03-25 18:10:05 +01:00
|
|
|
},
|
2020-07-18 14:44:45 +02:00
|
|
|
"name": "excalidraw",
|
2020-03-25 18:10:05 +01:00
|
|
|
"private": true,
|
2020-01-18 02:02:14 +01:00
|
|
|
"scripts": {
|
2020-02-28 22:51:36 +01:00
|
|
|
"build-node": "node ./scripts/build-node.js",
|
2020-06-18 13:18:57 +02:00
|
|
|
"build:app:docker": "REACT_APP_INCLUDE_GTAG=false REACT_APP_DISABLE_SENTRY=true react-scripts build",
|
2020-06-30 20:28:19 +02:00
|
|
|
"build:app": "REACT_APP_INCLUDE_GTAG=true REACT_APP_GIT_SHA=$NOW_GITHUB_COMMIT_SHA react-scripts build",
|
2020-12-18 13:02:29 +01:00
|
|
|
"build:version": "node ./scripts/build-version.js",
|
|
|
|
"build": "npm run build:app && npm run build:version",
|
2020-01-18 02:02:14 +01:00
|
|
|
"eject": "react-scripts eject",
|
2020-02-02 19:04:35 +01:00
|
|
|
"fix:code": "npm run test:code -- --fix",
|
|
|
|
"fix:other": "npm run prettier -- --write",
|
2020-06-30 20:28:19 +02:00
|
|
|
"fix": "npm run fix:other && npm run fix:code",
|
|
|
|
"locales-coverage": "node scripts/build-locales-coverage.js",
|
2020-12-19 19:35:03 +01:00
|
|
|
"locales-coverage:comment": "node scripts/locales-coverage-comment.js",
|
2020-02-02 19:04:35 +01:00
|
|
|
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
2020-01-18 02:02:14 +01:00
|
|
|
"start": "react-scripts start",
|
2020-04-08 18:49:52 +02:00
|
|
|
"test:all": "npm run test:typecheck && npm run test:code && npm run test:other && npm run test:app -- --watchAll=false",
|
2020-10-28 17:28:07 +01:00
|
|
|
"test:app": "react-scripts test --passWithNoTests",
|
2020-03-23 16:20:42 +01:00
|
|
|
"test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .",
|
2020-03-25 18:10:05 +01:00
|
|
|
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
|
|
|
|
"test:other": "npm run prettier -- --list-different",
|
2020-06-30 20:28:19 +02:00
|
|
|
"test:typecheck": "tsc",
|
|
|
|
"test:update": "npm run test:app -- --updateSnapshot --watchAll=false",
|
2020-12-13 14:23:14 +01:00
|
|
|
"test": "npm run test:app",
|
|
|
|
"changelog:check": "node ./scripts/changelog-check.js"
|
2020-01-22 13:55:13 +01:00
|
|
|
}
|
2020-01-03 22:13:41 +01:00
|
|
|
}
|