use pnpm and update deps

This commit is contained in:
cupcakearmy 2021-11-22 01:35:45 +01:00
parent 4ebc64f205
commit 25196d9a77
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
3 changed files with 7278 additions and 8437 deletions

View File

@ -3,43 +3,49 @@
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"author": { "author": {
"name": "Nicco", "name": "Niccolo Borgioli",
"email": "hi@nicco.io", "email": "hi@nicco.io",
"url": "https://nicco.io" "url": "https://nicco.io"
}, },
"homepage": "https://github.com/cupcakearmy/ora", "homepage": "https://github.com/cupcakearmy/ora",
"scripts": { "scripts": {
"clean": "rm -rf dist .cache web-ext-artifacts ora.zip", "clean": "rm -rf dist .parcel-cache web-ext-artifacts ora.zip",
"dev": "parcel watch --no-hmr manifest.json src/dashboard/index.html", "dev": "parcel watch --target dev --no-hmr ./manifest.json",
"build": "parcel build --no-content-hash --no-source-maps --no-minify manifest.json src/dashboard/index.html", "build": "parcel build --target prod ./manifest.json",
"dist": "rm -rf dist && yarn run build && yarn pack:ff && yarn run pack:zip", "dist": "run-s clean build pack:*",
"pack:zip": "zip -r ./ora.zip dist/*", "pack:zip": "zip -r ./ora.zip dist/prod/*",
"pack:ff": "web-ext build -s dist --overwrite-dest" "pack:ff": "web-ext build -s dist/prod --overwrite-dest"
},
"targets": {
"dev": {
"sourceMap": {
"inline": true,
"inlineSources": true
}
},
"prod": {}
}, },
"browserslist": [
"last 2 chrome versions",
"last 2 firefox versions"
],
"dependencies": { "dependencies": {
"d3": "^6.1.1", "d3": "^6.7.0",
"dayjs": "^1.8.36", "dayjs": "^1.10.7",
"dexie": "^3.0.2", "dexie": "^3.2.0",
"faker": "^5.1.0", "faker": "5.5.2",
"file-saver": "^2.0.2", "file-saver": "^2.0.5",
"joi": "^17.2.1", "joi": "^17.4.2",
"lodash": "^4.17.20", "lodash": "^4.17.21",
"spectre.css": "^0.5.9", "spectre.css": "^0.5.9",
"svelte-spa-router": "^3.0.0", "svelte-spa-router": "^3.2.0",
"tailwindcss": "^1.8.10", "tailwindcss": "^1.9.6",
"webextension-polyfill": "^0.6.0" "webextension-polyfill": "^0.8.0"
}, },
"devDependencies": { "devDependencies": {
"@types/firefox-webext-browser": "^78.0.1", "@parcel/config-webextension": "^2.0.1",
"@types/lodash": "^4.14.161", "@parcel/core": "^2.0.1",
"parcel-bundler": "^1.12.4", "@types/lodash": "^4.14.177",
"parcel-plugin-svelte": "^4.0.6", "npm-run-all": "^4.1.5",
"parcel-plugin-web-extension": "^1.6.1", "parcel": "^2.0.1",
"svelte": "^3.25.1", "parcel-transformer-svelte": "^1.2.3",
"web-ext": "^5.2.0" "svelte": "^3.44.2",
"web-ext": "^6.5.0"
} }
} }

7244
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

8409
yarn.lock

File diff suppressed because it is too large Load Diff