-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
80 lines (80 loc) · 2.3 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
{
"name": "graphql-norm",
"version": "1.3.6",
"description": "Normalization and denormalization of GraphQL responses",
"main": "dist/umd.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/dividab/graphql-norm.git"
},
"keywords": [
"graphql",
"normalization",
"denormalization"
],
"author": "Jonas Kello <[email protected]>",
"license": "MIT",
"files": [
"/lib",
"/dist",
"/src",
"package.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"peerDependencies": {
"graphql": "^14.5.8"
},
"devDependencies": {
"@types/benchmark": "^1.0.31",
"@types/jest": "^24.0.15",
"@types/node": "^12.0.12",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"benchmark": "^2.1.4",
"codecov": "^3.5.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-functional": "^2.0.0",
"graphql": "^14.5.8",
"graphql-tag": "^2.10.1",
"husky": "^2.4.1",
"jest": "^24.8.0",
"lint-staged": "^9.1.0",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"rollup": "^1.17.0",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"typescript": "^3.5.2"
},
"scripts": {
"lint": "eslint './{src,tests}/**/*.ts' --ext .ts -f visualstudio ",
"dist": "yarn build && rimraf dist && rollup lib/index.js --file dist/umd.js --format umd --name GraphqlNorm",
"build": "rimraf lib && tsc -p src",
"build-test": "rimraf lib-test && tsc -p test",
"performance": "ts-node performance-test/performance-test.ts",
"test-coverage": "jest",
"test": "jest --no-coverage",
"test:work": "jest --no-coverage ./test/denormalize.test.ts",
"verify": "yarn lint && yarn test-coverage && yarn dist",
"report-coverage": "codecov -f coverage/lcov.info",
"preversion": "yarn verify",
"postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push --follow-tags && echo \"Successfully released version $npm_package_version!\""
},
"lint-staged": {
"*.{ts,tsx}": "eslint --ext .ts -f visualstudio",
"*.{ts,tsx,json,css}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}