2020-01-01 17:04:47 -08:00
|
|
|
{
|
2020-03-25 11:42:16 -04: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-01 17:04:47 -08:00
|
|
|
"dependencies": {
|
2020-04-28 16:52:17 +03:00
|
|
|
"@sentry/browser": "5.15.5",
|
2020-04-28 11:30:44 +03:00
|
|
|
"@sentry/integrations": "5.15.5",
|
2020-06-02 03:23:34 +03:00
|
|
|
"@testing-library/jest-dom": "5.9.0",
|
2020-06-08 12:19:55 +03:00
|
|
|
"@testing-library/react": "10.2.1",
|
2020-05-26 17:24:35 +03:00
|
|
|
"@types/jest": "25.2.3",
|
2020-05-07 14:13:18 -07:00
|
|
|
"@types/nanoid": "2.1.0",
|
2020-06-16 17:29:21 +03:00
|
|
|
"@types/react": "16.9.36",
|
2020-05-11 18:54:35 +01:00
|
|
|
"@types/react-dom": "16.9.8",
|
2020-05-19 18:09:20 +03:00
|
|
|
"@types/socket.io-client": "1.4.33",
|
2020-06-12 18:35:04 +02:00
|
|
|
"browser-nativefs": "0.8.2",
|
2020-05-27 16:34:33 +03:00
|
|
|
"i18next-browser-languagedetector": "4.2.0",
|
2020-05-07 14:13:18 -07:00
|
|
|
"lodash.throttle": "4.1.1",
|
2020-02-03 09:58:56 +01:00
|
|
|
"nanoid": "2.1.11",
|
2020-05-11 19:01:42 +01:00
|
|
|
"node-sass": "4.14.1",
|
2020-04-10 18:09:29 -04:00
|
|
|
"open-color": "1.7.0",
|
2020-04-20 10:43:06 -07:00
|
|
|
"points-on-curve": "0.2.0",
|
2020-06-02 03:23:21 +03:00
|
|
|
"pwacompat": "2.0.15",
|
2020-03-23 10:27:39 +01:00
|
|
|
"react": "16.13.1",
|
2020-03-30 13:28:13 +03:00
|
|
|
"react-dom": "16.13.1",
|
2020-03-21 15:40:32 +05:45
|
|
|
"react-scripts": "3.4.1",
|
2020-05-12 20:10:11 +01:00
|
|
|
"roughjs": "4.3.1",
|
2020-04-29 08:53:07 +03:00
|
|
|
"socket.io-client": "2.3.0",
|
2020-06-08 12:19:47 +03:00
|
|
|
"typescript": "3.9.5"
|
2020-04-29 08:53:07 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-05-07 14:13:18 -07:00
|
|
|
"@types/lodash.throttle": "4.1.6",
|
2020-04-06 14:49:23 +03:00
|
|
|
"asar": "3.0.3",
|
2020-02-02 20:04:35 +02:00
|
|
|
"eslint": "6.8.0",
|
2020-04-27 12:26:38 +03:00
|
|
|
"eslint-config-prettier": "6.11.0",
|
2020-06-16 17:29:31 +03:00
|
|
|
"eslint-plugin-prettier": "3.1.4",
|
2020-04-13 12:22:17 +03:00
|
|
|
"husky": "4.2.5",
|
2020-02-12 02:19:43 +04:00
|
|
|
"jest-canvas-mock": "2.2.0",
|
2020-06-16 17:29:42 +03:00
|
|
|
"lint-staged": "10.2.10",
|
2020-03-07 10:20:38 -05:00
|
|
|
"pepjs": "0.5.2",
|
2020-04-27 12:25:57 +03:00
|
|
|
"prettier": "2.0.5",
|
2020-04-29 08:53:07 +03:00
|
|
|
"rewire": "5.0.0"
|
2020-01-01 17:04:47 -08:00
|
|
|
},
|
2020-03-25 13:10:05 -04:00
|
|
|
"engines": {
|
|
|
|
"node": ">=12.0.0"
|
2020-02-12 02:19:43 +04:00
|
|
|
},
|
2020-03-30 17:52:48 +03:00
|
|
|
"homepage": ".",
|
2020-01-03 00:03:48 +05:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
2020-03-25 13:10:05 -04:00
|
|
|
"jest": {
|
|
|
|
"transformIgnorePatterns": [
|
2020-04-20 10:43:06 -07:00
|
|
|
"node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-nativefs)/)"
|
2020-03-25 13:10:05 -04:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"private": true,
|
2020-01-18 03:02:14 +02:00
|
|
|
"scripts": {
|
2020-02-28 22:51:36 +01:00
|
|
|
"build": "npm run build:app && npm run build:zip",
|
|
|
|
"build-node": "node ./scripts/build-node.js",
|
2020-03-31 09:37:51 +01:00
|
|
|
"build:app": "REACT_APP_GIT_SHA=$NOW_GITHUB_COMMIT_SHA react-scripts build",
|
2020-03-25 13:10:05 -04:00
|
|
|
"build:zip": "node ./scripts/build-version.js",
|
2020-01-18 03:02:14 +02:00
|
|
|
"eject": "react-scripts eject",
|
2020-02-02 20:04:35 +02:00
|
|
|
"fix": "npm run fix:other && npm run fix:code",
|
|
|
|
"fix:code": "npm run test:code -- --fix",
|
|
|
|
"fix:other": "npm run prettier -- --write",
|
|
|
|
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
2020-01-18 03:02:14 +02:00
|
|
|
"start": "react-scripts start",
|
|
|
|
"test": "npm run test:app",
|
2020-04-08 09:49:52 -07:00
|
|
|
"test:all": "npm run test:typecheck && npm run test:code && npm run test:other && npm run test:app -- --watchAll=false",
|
2020-04-07 15:09:01 +02:00
|
|
|
"test:update": "npm run test:app -- --updateSnapshot --watchAll=false",
|
2020-01-18 03:02:14 +02:00
|
|
|
"test:app": "react-scripts test --env=jsdom --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 13:10:05 -04:00
|
|
|
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
|
|
|
|
"test:other": "npm run prettier -- --list-different",
|
|
|
|
"test:typecheck": "tsc"
|
2020-01-22 13:55:13 +01:00
|
|
|
}
|
2020-01-03 22:13:41 +01:00
|
|
|
}
|