This repository has been archived by the owner on Jun 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
159 lines (159 loc) · 4.52 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "sf-graphql",
"version": "1.0.0-beta.0",
"description": "Creates a GraphQL schema for a Salesforce instance",
"main": "./index.js",
"types": "./index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/WhiteAbeLincoln/salesforce-graphql.git"
},
"license": "MIT",
"keywords": [
"GraphQL",
"Salesforce",
"library"
],
"author": "Abraham White <abelincoln.white@gmail.com>",
"scripts": {
"build": "run-s clean && run-p build:*",
"build:main": "tsc -p tsconfig.build.json",
"fix": "run-s fix:*",
"fix:tslint": "tslint --fix --project .",
"test": "run-s build test:*",
"test:lint": "tslint --project . ",
"test:unit": "node ./scripts/test.js",
"test:unit:ci": "node ./scripts/test.js -i --ci --testResultsProcessor='jest-junit'",
"test:unit:watch": "node ./scripts/test.js --watch",
"test:security": "npm audit || node ./scripts/audit.js",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"",
"cov": "run-s cov:html && opn coverage/index.html",
"cov:html": "node ./scripts/test.js --coverage --coverageReporters='html'",
"cov:send": "node ./scripts/test.js --coverage --coverageReporters='lcov'; codecov",
"cov:check": "node ./scripts/test.js --coverage",
"doc": "run-s doc:html && opn docs/index.html",
"doc:html": "typedoc src/ --target ES6 --mode modules --out docs",
"doc:json": "typedoc src/ --target ES6 --mode modules --json docs/typedoc.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d docs",
"clean": "trash build test docs",
"prepack": "npm run build && cp -Rav build/* . | ./scripts/parseEmitted.sh build.emit",
"postpack": "./scripts/postpack.sh"
},
"engines": {
"node": ">=8.9"
},
"dependencies": {
"@types/graphql": "^0.13.1",
"@types/graphql-iso-date": "^3.3.0",
"graphql": "^0.13.2",
"graphql-iso-date": "^3.5.0",
"immutable-containers": "^0.1.0",
"isemail": "^3.1.2",
"jsforce": "^1.9.1",
"mem": "^4.0.0"
},
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@commitlint/prompt": "^7.2.1",
"@types/express": "^4.16.0",
"@types/express-graphql": "^0.6.2",
"@types/jest": "^23.3.7",
"@types/jsforce": "^1.9.1",
"@types/mem": "^1.1.2",
"codecov": "^3.1.0",
"commitizen": "^3.0.4",
"cz-conventional-changelog": "^2.1.0",
"express": "^4.16.4",
"express-graphql": "^0.6.12",
"fp-ts": "^1.9.0",
"gh-pages": "^2.0.0",
"husky": "^1.1.2",
"jest": "^23.6.0",
"jest-junit": "^5.2.0",
"npm-run-all": "^4.1.3",
"opn-cli": "^3.1.0",
"trash-cli": "^1.4.0",
"ts-jest": "^23.10.4",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-immutable": "^4.8.0",
"typedoc": "^0.13.0",
"typescript": "^3.1.3"
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.spec.json"
}
},
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": -40
}
},
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs,ts,tsx}"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
".*\\.d\\.ts",
"<rootDir>/src/(.*)?/__tests__/(.*)?\\.helper\\.ts",
"<rootDir>/src/(.*)?/__tests__/(.*)?__helper__(.*)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/src/(.*)?/__tests__/(.*)?\\.helper\\.ts",
"<rootDir>/src/(.*)?/__tests__/(.*)?__helper__(.*)"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs,ts,tsx}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs,ts,tsx}"
],
"testURL": "http://localhost",
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
],
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node",
"mjs",
"ts",
"tsx"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"greenkeeper": {
"ignore": [
"@types/node"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"prepare-commit-msg": "./scripts/commit-template.sh -E HUSKY_GIT_PARAMS",
"pre-push": "npm test"
}
}
}