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-22 13:55:13 +01:00
|
|
|
"browser-nativefs": "0.0.5",
|
2020-01-21 00:14:10 +01:00
|
|
|
"i18next": "19.0.3",
|
|
|
|
"i18next-browser-languagedetector": "4.0.1",
|
|
|
|
"i18next-xhr-backend": "3.2.2",
|
2020-01-16 22:50:02 +01:00
|
|
|
"nanoid": "2.1.9",
|
2020-01-02 02:04:47 +01:00
|
|
|
"react": "16.12.0",
|
|
|
|
"react-dom": "16.12.0",
|
2020-01-21 00:14:10 +01:00
|
|
|
"react-i18next": "11.3.1",
|
2020-01-02 20:03:48 +01:00
|
|
|
"react-scripts": "3.3.0",
|
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-01-16 22:50:02 +01:00
|
|
|
"@types/jest": "24.9.0",
|
|
|
|
"@types/nanoid": "2.1.0",
|
2020-01-02 20:03:48 +01:00
|
|
|
"@types/react": "16.9.17",
|
2020-01-16 22:50:02 +01:00
|
|
|
"@types/react-color": "3.0.1",
|
2020-01-02 20:03:48 +01:00
|
|
|
"@types/react-dom": "16.9.4",
|
2020-01-16 22:50:02 +01:00
|
|
|
"husky": "4.0.10",
|
2020-01-20 11:06:57 +01:00
|
|
|
"lint-staged": "10.0.0",
|
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-19 22:21:33 +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": {
|
|
|
|
"extends": "react-app"
|
|
|
|
},
|
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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2020-01-16 22:50:02 +01:00
|
|
|
"*.{js,css,scss,json,md,ts,tsx,html,yml}": [
|
2020-01-04 21:53:45 +01:00
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.{js,ts,tsx}": [
|
2020-01-08 20:08:43 +01:00
|
|
|
"eslint --max-warnings 0"
|
2020-01-04 21:53:45 +01:00
|
|
|
]
|
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",
|
|
|
|
"fix": "npm run prettier -- --write",
|
|
|
|
"prettier": "prettier \"**/*.{js,css,scss,json,md,ts,tsx,html,yml}\"",
|
|
|
|
"start": "react-scripts start",
|
|
|
|
"test": "npm run test:app",
|
|
|
|
"test:app": "react-scripts test --env=jsdom --passWithNoTests",
|
|
|
|
"test:code": "npm run prettier -- --list-different"
|
|
|
|
},
|
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
|
|
|
}
|