excalidraw/package.json

94 lines
2.2 KiB
JSON
Raw Normal View History

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