-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
121 lines (121 loc) · 3.28 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@jupiterone/jupiterone-client-nodejs",
"version": "2.1.0",
"description": "A node.js client wrapper for JupiterOne public API",
"repository": {
"type": "git",
"url": "https://github.com/JupiterOne/jupiterone-client-nodejs"
},
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "JupiterOne <dev@jupiterone.io>",
"files": [
"LICENSE",
"dist",
"bin"
],
"publishConfig": {
"access": "public"
},
"bin": {
"j1": "bin/j1"
},
"scripts": {
"env": "export $(grep -v '^#' .env | xargs);",
"format": "yarn prettier --write '**/*.{ts,js,json,css,md,yml}'",
"type-check": "tsc --noEmit",
"lint": "eslint . --cache --fix --ext .ts,.tsx",
"pretest": "yarn lint && yarn type-check",
"test": "jest",
"test-coverage": "jest --coverage",
"test:upsert": "yarn env; node src/j1cli.js -o upsert --entity --account $J1_ACCOUNT_ID --key $J1_API_TOKEN --input-file ./examples-yaml/entities.yml",
"copydist": "cp -R LICENSE *.md yarn.lock package.json ./dist/",
"distpackage": "(cd ./dist && sed -ibak -e 's#dist/inde[x]#index#g' package.json && rm package.jsonbak)",
"prebuild": "yarn test",
"build": "tsc -p tsconfig.dist.json --declaration",
"prepack": "yarn build",
"prepare": "husky install",
"audit:fix": "npm_config_yes=true npx yarn-audit-fix"
},
"dependencies": {
"@jupiterone/jupiterone-alert-rules": "^0.20.0",
"@lifeomic/attempt": "^3.0.3",
"apollo-cache-inmemory": "^1.5.1",
"apollo-client": "^2.6.10",
"apollo-link": "^1.2.14",
"apollo-link-batch-http": "^1.2.13",
"apollo-link-retry": "^2.2.13",
"bunyan-category": "^0.4.0",
"chalk": "^4.1.2",
"cli-progress": "^3.12.0",
"commander": "^5.0.0",
"graphql": "^14.6.0",
"graphql-tag": "^2.10.1",
"inquirer": "^8.2.0",
"js-yaml": "^3.13.1",
"node-fetch": "^2.6.7",
"p-all": "^2.1.0"
},
"devDependencies": {
"@pollyjs/adapter-node-http": "^2.7.0",
"@pollyjs/core": "^2.6.3",
"@types/bunyan": "^1.8.8",
"@types/jest": "^27.4.0",
"@types/node": "^13.9.8",
"@types/node-fetch": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"dotenv": "^7.0.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-jest": "^23.8.2",
"husky": "^7.0.0",
"jest": "^27.4.7",
"lint-staged": "^12.3.3",
"prettier": "^2.0.2",
"ts-jest": "^27.1.3",
"typescript": "^3.8.3"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/no-use-before-define": [
"error",
{
"functions": false
}
],
"@typescript-eslint/no-var-requires": [
"warn"
]
}
},
"prettier": {
"trailingComma": "all",
"proseWrap": "always",
"singleQuote": true
},
"lint-staged": {
"linters": {
"*.{ts,js,json,css,md,yml}": [
"yarn format",
"git add"
]
},
"ignore": []
}
}