-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 1.95 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
{
"name": "@nacelle/types",
"version": "5.0.4",
"description": "Typescript & GraphQL types for use when creating Nacelle products",
"main": "build/index.js",
"module": "build/index.es.js",
"types": "build/index.d.ts",
"files": [
"build"
],
"scripts": {
"prepublishOnly": "npm run generate && npm run build",
"prebuild": "rimraf ./build",
"build": "rollup -c",
"test": "jest ./src --watch",
"test:ci": "jest ./src --runInBand --coverage --passWithNoTests",
"lint": "eslint ./src",
"generate": "TS_NODE_PROJECT=./tsconfig.dev.json DEBUG=1 graphql-codegen --config codegen.yml"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {},
"devDependencies": {
"graphql": "^15.3.0",
"@graphql-codegen/cli": "^1.17.10",
"@graphql-codegen/typescript": "^1.17.10",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/jest": "^26.0.14",
"jest": "^26.4.2",
"jest-watch-typeahead": "^0.6.1",
"lint-staged": "^10.4.0",
"rimraf": "^3.0.2",
"rollup": "^2.28.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.3",
"typescript": "^4.0.3",
"husky": "^4.3.0",
"@graphql-codegen/add": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"eslint": "^7.10.0",
"graphql-tag": "^2.11.0",
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"ts-node": "^9.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/getnacelle/nacelle-types.git"
},
"bugs": {
"url": "https://github.com/getnacelle/nacelle-types/issues"
},
"lint-staged": {
"src/**/*.(js|ts|tsx)": [
"prettier --write",
"npm run lint --max-warnings=0",
"git add"
],
"*{json, md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test:ci"
}
}
}