3c2c26c11e
* Add turbo run lint * Add lint to all apps and examples * Update eslint with monorepo configuration see: https://typescript-eslint.io/docs/linting/typed-linting/monorepos#one-tsconfigjson-per-package-and-an-optional-one-in-the-root * Remove unused rules * Exclude @tldraw/www from global eslint config * Remove duplicated eslint * Fix eslint prefer-const errors * Fix eslint no-unused-vars warning * Update package.json * Fix eslint no-unused-vars warning * bump eslint@^8.20.0 * Correct "Fix eslint no-unused-vars warning" This reverts commit 0158a2585af84b623f2c5581412252c8471375ae.
80 lines
1.6 KiB
JSON
80 lines
1.6 KiB
JSON
{
|
|
"name": "@tldraw/electron",
|
|
"version": "1.7.0",
|
|
"private": true,
|
|
"description": "An electron app for tldraw.",
|
|
"author": "@steveruizok",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"react",
|
|
"typescript",
|
|
"esbuild"
|
|
],
|
|
"scripts": {
|
|
"dev": "electron-esbuild dev",
|
|
"start:electron": "yarn dev",
|
|
"build:apps": "yarn build:electron",
|
|
"build:electron": "electron-esbuild build",
|
|
"package": "electron-builder",
|
|
"lint": "eslint src/ --ext .ts,.tsx"
|
|
},
|
|
"devDependencies": {
|
|
"@tldraw/tldraw": "^1.16.0",
|
|
"@types/node": "^17.0.14",
|
|
"@types/react": "^18.0.12",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/react-router-dom": "^5.1.8",
|
|
"electron": "17.2.0",
|
|
"electron-builder": "^22.13.1",
|
|
"electron-esbuild": "^5.0.0",
|
|
"electron-util": "^0.17.2",
|
|
"esbuild": "^0.14.18",
|
|
"esbuild-serve": "^1.0.1",
|
|
"react": "^17.0",
|
|
"react-dom": "^17.0",
|
|
"rimraf": "3.0.2",
|
|
"typescript": "^4.7.3"
|
|
},
|
|
"build": {
|
|
"appId": "io.comp.tldraw-electron",
|
|
"productName": "tldraw",
|
|
"extraMetadata": {
|
|
"name": "tldraw",
|
|
"main": "main.js"
|
|
},
|
|
"files": [
|
|
{
|
|
"from": ".",
|
|
"filter": [
|
|
"package.json"
|
|
]
|
|
},
|
|
{
|
|
"from": "dist/main"
|
|
},
|
|
{
|
|
"from": "dist/renderer"
|
|
}
|
|
],
|
|
"win": {
|
|
"target": [
|
|
"zip"
|
|
]
|
|
},
|
|
"mac": {
|
|
"target": [
|
|
"zip"
|
|
]
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"zip"
|
|
]
|
|
},
|
|
"directories": {
|
|
"buildResources": "resources"
|
|
},
|
|
"publish": null
|
|
},
|
|
"gitHead": "a7dac0f83ad998e205c2aab58182cb4ba4e099a6"
|
|
}
|