2020-01-02 02:04:47 +01:00
|
|
|
{
|
2020-01-18 02:02:14 +01:00
|
|
|
"browserslist": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not ie <= 11",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
2020-01-02 02:04:47 +01:00
|
|
|
"dependencies": {
|
2020-01-27 10:14:44 +01:00
|
|
|
"browser-nativefs": "0.2.0",
|
2020-01-21 00:14:10 +01:00
|
|
|
"i18next-browser-languagedetector": "4.0.1",
|
2020-02-03 09:58:56 +01:00
|
|
|
"nanoid": "2.1.11",
|
2020-01-02 02:04:47 +01:00
|
|
|
"react": "16.12.0",
|
|
|
|
"react-dom": "16.12.0",
|
2020-02-03 10:01:08 +01:00
|
|
|
"react-scripts": "3.3.1",
|
2020-01-16 22:50:02 +01:00
|
|
|
"roughjs": "4.0.4"
|
2020-01-02 02:04:47 +01:00
|
|
|
},
|
2020-01-18 02:02:14 +01:00
|
|
|
"description": "",
|
2020-01-02 02:04:47 +01:00
|
|
|
"devDependencies": {
|
2020-02-10 09:50:57 +01:00
|
|
|
"@types/jest": "25.1.2",
|
2020-01-16 22:50:02 +01:00
|
|
|
"@types/nanoid": "2.1.0",
|
2020-01-25 05:04:03 +01:00
|
|
|
"@types/react": "16.9.19",
|
2020-01-25 05:02:38 +01:00
|
|
|
"@types/react-dom": "16.9.5",
|
2020-02-02 19:04:35 +01:00
|
|
|
"eslint": "6.8.0",
|
|
|
|
"eslint-config-prettier": "6.10.0",
|
|
|
|
"eslint-plugin-prettier": "3.1.2",
|
2020-01-25 05:03:04 +01:00
|
|
|
"husky": "4.2.1",
|
2020-02-03 09:59:22 +01:00
|
|
|
"lint-staged": "10.0.7",
|
2020-01-16 22:50:02 +01:00
|
|
|
"node-sass": "4.13.1",
|
2020-01-02 20:03:48 +01:00
|
|
|
"prettier": "1.19.1",
|
2020-01-22 15:13:00 +01:00
|
|
|
"rewire": "4.0.1",
|
2020-01-16 22:50:02 +01:00
|
|
|
"typescript": "3.7.5"
|
2020-01-02 02:04:47 +01:00
|
|
|
},
|
2020-01-02 20:03:48 +01:00
|
|
|
"eslintConfig": {
|
2020-02-02 19:04:35 +01:00
|
|
|
"extends": [
|
|
|
|
"prettier",
|
|
|
|
"react-app"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"prettier"
|
|
|
|
],
|
2020-01-22 15:13:00 +01:00
|
|
|
"rules": {
|
2020-02-05 17:41:14 +01:00
|
|
|
"curly": "warn",
|
2020-01-22 15:13:00 +01:00
|
|
|
"no-console": [
|
2020-02-05 17:41:14 +01:00
|
|
|
"warn",
|
2020-01-22 15:13:00 +01:00
|
|
|
{
|
|
|
|
"allow": [
|
|
|
|
"warn",
|
|
|
|
"error",
|
|
|
|
"info"
|
|
|
|
]
|
|
|
|
}
|
2020-02-02 19:04:35 +01:00
|
|
|
],
|
2020-02-05 17:41:14 +01:00
|
|
|
"no-else-return": "warn",
|
|
|
|
"no-useless-return": "warn",
|
2020-02-02 19:04:35 +01:00
|
|
|
"prefer-const": [
|
2020-02-05 17:41:14 +01:00
|
|
|
"warn",
|
2020-02-02 19:04:35 +01:00
|
|
|
{
|
|
|
|
"destructuring": "all"
|
|
|
|
}
|
|
|
|
],
|
2020-02-05 17:41:14 +01:00
|
|
|
"prefer-template": "warn",
|
|
|
|
"prettier/prettier": "warn"
|
2020-01-22 15:13:00 +01:00
|
|
|
}
|
2020-01-02 20:03:48 +01:00
|
|
|
},
|
2020-01-18 02:02:14 +01:00
|
|
|
"homepage": "https://excalidraw.com",
|
2020-01-02 20:03:48 +01:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
2020-01-18 02:02:14 +01:00
|
|
|
"main": "src/index.js",
|
|
|
|
"name": "excalidraw",
|
|
|
|
"scripts": {
|
|
|
|
"build": "react-scripts build",
|
2020-01-19 22:21:33 +01:00
|
|
|
"build-node": "./scripts/build-node.js",
|
2020-01-18 02:02:14 +01:00
|
|
|
"eject": "react-scripts eject",
|
2020-02-02 19:04:35 +01: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 02:02:14 +01:00
|
|
|
"start": "react-scripts start",
|
|
|
|
"test": "npm run test:app",
|
|
|
|
"test:app": "react-scripts test --env=jsdom --passWithNoTests",
|
2020-02-02 19:04:35 +01:00
|
|
|
"test:code": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
|
|
|
|
"test:other": "npm run prettier -- --list-different"
|
2020-01-18 02:02:14 +01:00
|
|
|
},
|
2020-01-22 13:55:13 +01:00
|
|
|
"version": "1.0.0",
|
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/excalidraw/excalidraw.git"
|
|
|
|
}
|
2020-01-03 22:13:41 +01:00
|
|
|
}
|