finish setting up dev dependencies properly

This commit is contained in:
Erin 2023-08-14 14:37:55 -04:00
parent e1a4f59516
commit 41a3ad8f6a
3 changed files with 15 additions and 4 deletions

11
package-lock.json generated
View file

@ -13,7 +13,9 @@
"@types/chrome": "^0.0.242", "@types/chrome": "^0.0.242",
"@types/node": "^20.5.0", "@types/node": "^20.5.0",
"dprint": "^0.40.2", "dprint": "^0.40.2",
"rollup": "^3.26.3" "rollup": "^3.26.3",
"tslib": "^2.6.1",
"typescript": "^5.1.6"
} }
}, },
"node_modules/@dprint/darwin-arm64": { "node_modules/@dprint/darwin-arm64": {
@ -322,12 +324,17 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/tslib": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz",
"integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==",
"dev": true
},
"node_modules/typescript": { "node_modules/typescript": {
"version": "5.1.6", "version": "5.1.6",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz",
"integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==",
"dev": true, "dev": true,
"peer": true,
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
"tsserver": "bin/tsserver" "tsserver": "bin/tsserver"

View file

@ -4,6 +4,8 @@
"main": "build/index.js", "main": "build/index.js",
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "rollup -c",
"build:watch": "rollup -c --watch",
"fmt": "dprint fmt" "fmt": "dprint fmt"
}, },
"devDependencies": { "devDependencies": {
@ -12,6 +14,8 @@
"@types/chrome": "^0.0.242", "@types/chrome": "^0.0.242",
"@types/node": "^20.5.0", "@types/node": "^20.5.0",
"dprint": "^0.40.2", "dprint": "^0.40.2",
"rollup": "^3.26.3" "rollup": "^3.26.3",
"tslib": "^2.6.1",
"typescript": "^5.1.6"
} }
} }

View file

@ -8,7 +8,7 @@ export default defineConfig({
dir: 'build', dir: 'build',
}, },
external: [ external: [
'node:fs', 'node:fs/promises',
'node:path', 'node:path',
], ],
plugins: [ plugins: [