-
Notifications
You must be signed in to change notification settings - Fork 71
/
package.json
104 lines (104 loc) · 6.29 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "passbolt-browser-extension",
"version": "4.10.0",
"license": "AGPL-3.0",
"copyright": "Copyright 2022 Passbolt SA",
"description": "Passbolt web extension for the open source password manager for teams",
"homepage": "https://www.passbolt.com",
"repository": "https://github.com/passbolt/passbolt_browser_extension",
"engines": {
"node": ">=18.18.0",
"npm": ">=9.8.1"
},
"dependencies": {
"await-lock": "^2.1.0",
"downloadjs": "^1.4.7",
"i18next": "^23.7.16",
"i18next-http-backend": "^2.4.2",
"ip-regex": "^5.0.0",
"jssha": "~3.3.1",
"kdbxweb": "2.1.1",
"locutus": "~2.0.9",
"openpgp": "^5.11.1",
"papaparse": "^5.2.0",
"passbolt-styleguide": "^4.10.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"secrets-passbolt": "github:passbolt/secrets.js#v2.0.1",
"validator": "^13.7.0",
"webextension-polyfill": "^0.10.0",
"xregexp": "~5.1.0"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.9",
"@babel/plugin-transform-runtime": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.22.5",
"babel-jest": "^29.6.2",
"babel-loader": "^8.2.3",
"crx": "^5.0.1",
"eslint": "^8.46.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-no-unsanitized": "^4.0.1",
"eslint-plugin-react": "^7.33.1",
"grunt": "^1.0.3",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-shell": "^4.0.0",
"i18next-parser": "^9.0.1",
"jest": "^29.6.2",
"jest-each": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jest-environment-node": "^29.6.2",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^16.0.0",
"jest-webextension-mock": "^3.8.9",
"lockfile-lint": "^4.14.0",
"text-encoding-utf-8": "^1.0.2",
"uuid": "^8.3.2",
"web-ext": "^8.0.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
"build": "npx grunt build",
"build:background-page": "webpack --config webpack.background-page.config.js",
"build:service-worker": "webpack --config webpack.service-worker.config.js; webpack --config webpack-offscreens.fetch.config.js",
"build:content-scripts": "npm run build:content-scripts:app; npm run build:content-scripts:browser-integration; npm run build:content-scripts:public-website",
"build:content-scripts:app": "webpack --config webpack-content-scripts.config.js",
"build:content-scripts:browser-integration": "webpack --config webpack-content-scripts.browser-integration.config.js",
"build:content-scripts:public-website": "webpack --config webpack-content-scripts.public-website-sign-in.config.js",
"build:web-accessible-resources": "npm run build:web-accessible-resources:app; npm run build:web-accessible-resources:browser-integration",
"build:web-accessible-resources:app": "webpack --config webpack-data.config.js; webpack --config webpack-data.download.config.js",
"build:web-accessible-resources:browser-integration": "webpack --config webpack-data.in-form-call-to-action.config.js; webpack --config webpack-data.in-form-menu.config.js",
"dev:build:background-page": "webpack --env debug=true --config webpack.background-page.config.js",
"dev:build:service-worker": "webpack --env debug=true --config webpack.service-worker.config.js; webpack --env debug=true --config webpack-offscreens.fetch.config.js",
"dev:build:content-scripts": "npm run dev:build:content-scripts:app; npm run dev:build:content-scripts:browser-integration; npm run dev:build:content-scripts:public-website",
"dev:build:content-scripts:app": "webpack --env debug=true --config webpack-content-scripts.config.js",
"dev:build:content-scripts:browser-integration": "webpack --env debug=true --config webpack-content-scripts.browser-integration.config.js",
"dev:build:content-scripts:public-website": "webpack --env debug=true --config webpack-content-scripts.public-website-sign-in.config.js",
"dev:build:web-accessible-resources": "npm run dev:build:web-accessible-resources:app; npm run dev:build:web-accessible-resources:browser-integration",
"dev:build:web-accessible-resources:app": "webpack --env debug=true --config webpack-data.config.js; webpack --env debug=true --config webpack-data.download.config.js",
"dev:build:web-accessible-resources:browser-integration": "webpack --env debug=true --config webpack-data.in-form-call-to-action.config.js; webpack --env debug=true --config webpack-data.in-form-menu.config.js",
"dev:safari:build": "grunt build-safari-debug; npm run dev:safari:convert",
"dev:safari:convert": "xcrun safari-web-extension-converter --app-name Passbolt-Safari-Extension --swift --macos-only --project-location ./build-safari-extension --bundle-identifier com.passbolt.safari-extension --force --no-open build/all/",
"dev:watch:build:background-page": "npm run dev:build:background-page -- -w",
"dev:watch:build:service-worker": "npm run dev:build:service-worker -- -w",
"dev:watch:build:content-scripts:app": "npm run dev:build:content-scripts:app -- -w",
"dev:watch:build:content-scripts:browser-integration": "npm run dev:build:content-scripts:browser-integration -- -w",
"dev:watch:build:content-scripts:public-website": "npm run dev:build:content-scripts:public-website -- -w",
"dev:watch:build:web-accessible-resources:app": "npm run dev:build:web-accessible-resources:app -- -w",
"dev:watch:build:web-accessible-resources:browser-integration": "npm run dev:build:web-accessible-resources:browser-integration -- -w",
"lint": "npm run lint:lockfile && npm run lint:eslint",
"lint:lockfile": "lockfile-lint --path package-lock.json --allowed-hosts npm github.com --allowed-schemes \"https:\" \"git+ssh:\" --empty-hostname false --allowed-urls \"[email protected]@\"",
"lint:eslint": "eslint -c .eslintrc.json --ext js --ext jsx src --max-warnings 0",
"lint:eslint-fix": "eslint -c .eslintrc.json --ext js --ext jsx --fix src",
"i18n:externalize": "i18next -c ./i18next-parser.config.js",
"test": "npm run test:unit",
"test:unit": "jest --no-cache ./src/all/ ./src/chrome-mv3/",
"test:coverage": "jest --no-cache ./src/all/ ./src/chrome-mv3/ --coverage",
"test:ci:coverage": "npm run test:coverage -- --runInBand"
}
}