1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-02 03:25:53 +01:00
excalidraw/package.json

61 lines
1.4 KiB
JSON
Raw Normal View History

2020-01-02 02:04:47 +01:00
{
2020-01-17 01:53:38 +01:00
"name": "excalidraw",
"homepage": "https://excalidraw.com",
2020-01-02 02:04:47 +01:00
"version": "1.0.0",
"description": "",
"keywords": [],
"main": "src/index.js",
"dependencies": {
"nanoid": "2.1.9",
2020-01-02 02:04:47 +01:00
"react": "16.12.0",
"react-dom": "16.12.0",
"react-scripts": "3.3.0",
"roughjs": "4.0.4"
2020-01-02 02:04:47 +01:00
},
"devDependencies": {
"@types/jest": "24.9.0",
"@types/nanoid": "2.1.0",
"@types/react": "16.9.17",
"@types/react-color": "3.0.1",
"@types/react-dom": "16.9.4",
"husky": "4.0.10",
"lint-staged": "9.5.0",
"node-sass": "4.13.1",
"prettier": "1.19.1",
"typescript": "3.7.5"
2020-01-02 02:04:47 +01:00
},
"scripts": {
"build": "react-scripts build",
"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:app": "react-scripts test --env=jsdom --passWithNoTests",
"test:code": "npm run prettier -- --list-different",
"test": "npm run test:app"
2020-01-02 02:04:47 +01:00
},
2020-01-04 21:53:45 +01:00
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"eslintConfig": {
"extends": "react-app"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,scss,json,md,ts,tsx,html,yml}": [
2020-01-04 21:53:45 +01:00
"prettier --write",
"git add"
],
"*.{js,ts,tsx}": [
"eslint --max-warnings 0"
2020-01-04 21:53:45 +01:00
]
}
2020-01-03 22:13:41 +01:00
}