-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
57 lines (57 loc) · 1.72 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
{
"name": "@1password/op-js",
"version": "0.1.13",
"description": "A typed JS wrapper for the 1Password CLI",
"main": "./dist/index.js",
"types": "./dist/src/index.d.ts",
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "https://github.com/1Password/op-js"
},
"license": "MIT",
"scripts": {
"build": "license-checker-rseidelsohn --direct --files licenses && yarn compile --minify && tsc -p tsconfig.release.json --emitDeclarationOnly",
"compile": "esbuild src/index.ts src/cli.ts --platform=node --format=cjs --outdir=dist",
"eslint": "eslint -c .eslintrc.json 'src/*.ts'",
"prepare": "husky install",
"prettier": "prettier --check 'src/*.ts'",
"test:unit": "jest --testMatch '<rootDir>/src/*.test.ts'",
"test:integration": "jest --testMatch '<rootDir>/tests/*.test.ts' --setupFilesAfterEnv '<rootDir>/jest.setup.ts' --runInBand",
"typecheck": "tsc -p tsconfig.release.json --noEmit",
"watch": "yarn compile --watch"
},
"prettier": "@1password/prettier-config",
"lint-staged": {
"src/*.ts": [
"prettier --write",
"eslint -c .eslintrc.json --fix"
]
},
"devDependencies": {
"@1password/eslint-config": "^4.3.0",
"@1password/prettier-config": "^1.1.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.12",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"esbuild": "^0.21.2",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.6.2",
"joi": "^17.13.1",
"license-checker-rseidelsohn": "^4.3.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"ts-jest": "^29.1.2",
"typescript": "5.4.5"
},
"dependencies": {
"lookpath": "^1.2.2",
"semver": "^7.6.2"
}
}