chore: cleanup desktop scripts; use web react version for toast package

This commit is contained in:
Mo
2022-06-12 21:48:30 -05:00
parent 6642dbad51
commit 394c98a619
47 changed files with 142 additions and 388 deletions

View File

@@ -2,27 +2,23 @@
"name": "@standardnotes/toast",
"version": "1.2.0",
"private": true,
"main": "./dist/index.js",
"main": "./src/index.ts",
"scripts": {
"build": "echo BUILDING TOAST && yarn tsc",
"clean": "rm -fr dist",
"prestart": "yarn clean",
"start": "tsc -p tsconfig.json --watch",
"tsc": "tsc --project tsconfig.json",
"prebuild": "yarn clean",
"lint": "eslint ./src"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
},
"dependencies": {
"@nanostores/react": "^0.2.0",
"@standardnotes/icons": "^1.4.0",
"nanoid": "^3.3.4",
"nanostores": "^0.5.12"
"nanostores": "^0.5.12",
"react": "link:../web/node_modules/react",
"react-dom": "link:../web/node_modules/react-dom"
},
"devDependencies": {
"@types/react": "link:../web/node_modules/@types/react",
"@types/react-dom": "link:../web/node_modules/@types/react-dom",
"eslint": "*",
"typescript": "*"
}