2013-11-10 21:31:42 +00:00
|
|
|
{
|
2021-12-20 15:01:25 +00:00
|
|
|
"name": "padloc",
|
|
|
|
"private": true,
|
|
|
|
"version": "4.0.0",
|
|
|
|
"description": "A minimalist password manager",
|
|
|
|
"author": "Martin Kleinschrodt <martin@maklesoft.com>",
|
|
|
|
"license": "GPL-3.0",
|
|
|
|
"homepage": "https://padloc.app/",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/padloc/padloc.git"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": "16.13.1",
|
|
|
|
"npm": "8.2.0"
|
|
|
|
},
|
|
|
|
"main": "main.js",
|
|
|
|
"devDependencies": {
|
|
|
|
"lerna": "4.0.0",
|
|
|
|
"prettier": "2.5.1",
|
|
|
|
"ts-node": "10.0.0",
|
|
|
|
"typescript": "4.4.3"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"postinstall": "lerna bootstrap",
|
|
|
|
"bootstrap": "lerna bootstrap",
|
|
|
|
"pwa:build": "lerna run build --scope @padloc/pwa",
|
|
|
|
"pwa:start": "lerna run start --scope @padloc/pwa",
|
|
|
|
"server:start": "lerna run start --scope @padloc/server --stream",
|
|
|
|
"server:start-dry": "lerna run start-dry --stream --scope @padloc/server",
|
2021-12-24 19:59:07 +00:00
|
|
|
"electron:build": "lerna run build --scope @padloc/electron",
|
2021-12-21 14:01:06 +00:00
|
|
|
"web-extension:build": "lerna run build --scope @padloc/extension",
|
2021-12-23 12:24:16 +00:00
|
|
|
"cordova:build": "lerna run build:android && lerna run build:ios",
|
|
|
|
"cordova:build:android": "lerna run build:android",
|
2021-12-23 20:44:01 +00:00
|
|
|
"cordova:build:android:signed": "lerna run build:android:signed",
|
2021-12-23 12:24:16 +00:00
|
|
|
"cordova:build:ios": "lerna run build:ios",
|
2021-12-20 15:01:25 +00:00
|
|
|
"start": "npm run pwa:build && lerna run --scope '@padloc/{server,pwa}' --parallel start",
|
|
|
|
"dev": "lerna run --parallel --scope '@padloc/{server,pwa}' --parallel dev",
|
|
|
|
"tauri:dev": "lerna run --parallel --scope '@padloc/{server,tauri}' --parallel dev",
|
Fix Tauri build
This isn't working, but has some attempts. It's currently blocked, because the built app just has many `ReferenceError: Can't find variable: process`. Something with Webpack isn't building properly, as even trying to just run `webpack serve` from inside yields the same result (I updated webpack, but the problem is in the setup/config, really). I also tried setting `resolve.fallback.process: require.resolve('process/browser')` ([among other things](https://pretagteam.com/question/webpack-5-uncaught-referenceerror-process-is-not-defined)), but the executed code comes from `@padloc/app`, so I'd have to add that package there, and it feels wrong. I'm positive I'm just doing something wrong with the setup, but already spent quite some time on it.
To test, pull this down, run `npm install`, and `npm run tauri:dev` (runs with `webpack` instead of `tauri`, just because the console errors are more useful).
In the process of trying to get this to work, I migrated the icons to the assets directory and updated them. I also tweaked the initial HTML to match the new v4 theme.
Related to #281
2021-12-27 10:43:39 +00:00
|
|
|
"tauri:update": "lerna run update",
|
2021-12-26 09:38:28 +00:00
|
|
|
"tauri:build": "lerna run build --scope @padloc/tauri",
|
2021-12-28 19:41:17 +00:00
|
|
|
"tauri:build:production": "lerna run build:production",
|
2021-12-20 15:01:25 +00:00
|
|
|
"repl": "cd packages/server && npm run repl && cd ../..",
|
|
|
|
"test": "lerna run test",
|
|
|
|
"locale:extract": "lerna run extract --scope '@padloc/locale'",
|
|
|
|
"add": "lerna add $1 --scope=@padloc/$scope",
|
|
|
|
"remove": "rm packages/$scope/package-lock.json && lerna exec \"npm uninstall $1\" --scope=@padloc/$scope",
|
|
|
|
"prettier": "prettier --write .",
|
|
|
|
"prettier:check": "prettier --check ."
|
|
|
|
}
|
2021-12-15 15:07:38 +00:00
|
|
|
}
|