1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00
excalidraw/package.json
2020-07-03 11:24:41 +02:00

97 lines
3.1 KiB
JSON

{
"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"
]
},
"dependencies": {
"@sentry/browser": "5.19.0",
"@sentry/integrations": "5.19.0",
"@testing-library/jest-dom": "5.11.0",
"@testing-library/react": "10.4.3",
"@types/jest": "26.0.3",
"@types/nanoid": "2.1.0",
"@types/react": "16.9.41",
"@types/react-dom": "16.9.8",
"@types/socket.io-client": "1.4.33",
"browser-nativefs": "0.9.0",
"i18next-browser-languagedetector": "5.0.0",
"lodash.throttle": "4.1.1",
"nanoid": "2.1.11",
"node-sass": "4.14.1",
"open-color": "1.7.0",
"points-on-curve": "0.2.0",
"pwacompat": "2.0.15",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-scripts": "3.4.1",
"roughjs": "4.3.1",
"socket.io-client": "2.3.0",
"typescript": "3.9.5"
},
"devDependencies": {
"@types/lodash.throttle": "4.1.6",
"asar": "3.0.3",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.4",
"husky": "4.2.5",
"jest-canvas-mock": "2.2.0",
"lint-staged": "10.2.11",
"pepjs": "0.5.2",
"prettier": "2.0.5",
"rewire": "5.0.0"
},
"engines": {
"node": ">=12.0.0"
},
"homepage": ".",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-nativefs)/)"
]
},
"private": true,
"scripts": {
"build-node": "node ./scripts/build-node.js",
"build:app:docker": "REACT_APP_INCLUDE_GTAG=false REACT_APP_DISABLE_SENTRY=true react-scripts build",
"build:app": "REACT_APP_INCLUDE_GTAG=true REACT_APP_GIT_SHA=$NOW_GITHUB_COMMIT_SHA react-scripts build",
"build:zip": "node ./scripts/build-version.js",
"build": "npm run build:app && npm run build:zip",
"eject": "react-scripts eject",
"fix:code": "npm run test:code -- --fix",
"fix:other": "npm run prettier -- --write",
"fix": "npm run fix:other && npm run fix:code",
"locales-coverage": "node scripts/build-locales-coverage.js",
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
"start": "react-scripts start",
"test:all": "npm run test:typecheck && npm run test:code && npm run test:other && npm run test:app -- --watchAll=false",
"test:app": "react-scripts test --env=jsdom-fourteen --passWithNoTests",
"test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .",
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
"test:other": "npm run prettier -- --list-different",
"test:typecheck": "tsc",
"test:update": "npm run test:app -- --updateSnapshot --watchAll=false",
"test": "npm run test:app"
}
}