all: switch to Yarn

This commit is contained in:
Harsh Shandilya 2022-05-25 13:51:58 +05:30
parent 19bf61857f
commit 61b4ca6eae
3 changed files with 5 additions and 4 deletions

2
.gitignore vendored
View File

@ -4,5 +4,5 @@ dist/
node_modules/
transpiled/
worker/
package-lock.json
.hugo_build.lock
yarn.lock

View File

@ -6,20 +6,20 @@
"main": "index.js",
"scripts": {
"build": "webpack",
"dev": "NODE_ENV=development npm run build",
"dev": "NODE_ENV=development yarn run build",
"format": "prettier --write '**/*.{ts,js,css,json,md}' --ignore-path .gitignore"
},
"author": "Harsh Shandilya <me@msfjarvis.dev>",
"license": "MIT OR Apache-2.0",
"devDependencies": {
"@cloudflare/workers-types": "3.2.0",
"prettier": "^2.3.0",
"source-map-loader": "^1.1.3",
"source-map-support": "^0.5.19",
"ts-loader": "^8.3.0",
"typescript": "^4.2.4",
"webpack": "^5.37.1",
"webpack-cli": "^4.2.0",
"@cloudflare/workers-types": "3.2.0"
"webpack-cli": "^4.2.0"
},
"dependencies": {
"@cloudflare/kv-asset-handler": "0.2.0"

View File

@ -8,5 +8,6 @@ pkgs.mkShell {
imagemagick
nodejs-16_x
wrangler
yarn
];
}