-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.97 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
{
"name": "graphql-codegen-typescript-document-nodes",
"version": "2.1.1",
"description": "GraphQL Code Generator plugin for generating TypeScript modules with embedded GraphQL document nodes",
"repository": {
"type": "git",
"url": "https://github.com/dex4er/js-graphql-codegen-typescript-document-nodes"
},
"author": "Piotr Roszatycki",
"license": "MIT",
"bugs": {
"url": "https://github.com/dex4er/js-graphql-codegen-typescript-document-nodes/issues"
},
"homepage": "http://github.com/dex4er/js-graphql-codegen-typescript-document-nodes",
"engines": {
"node": ">=8.0.0"
},
"dependencies": {
"@graphql-codegen/plugin-helpers": "1.3.1",
"@graphql-codegen/visitor-plugin-common": "1.3.1",
"tslib": "1.10.0"
},
"devDependencies": {
"@graphql-codegen/testing": "1.3.1",
"@types/graphql": "14.2.2",
"@types/jest": "24.0.15",
"@types/node": "12.0.12",
"graphql": "14.4.2",
"jest": "24.8.0",
"markdownlint-cli": "0.17.0",
"prettier": "1.18.2",
"shx": "0.3.2",
"ts-jest": "24.0.2",
"tslint": "5.18.0",
"tslint-config-prettier": "1.18.0",
"typescript": "3.5.2"
},
"scripts": {
"build": "npm run compile",
"clean": "shx rm -rf dist",
"compile": "tsc -m esnext --outDir dist/esnext && tsc -m commonjs --outDir dist/commonjs",
"lint": "tsc --noemit --pretty -p . && tsc --pretty -p tests && tslint -p . && tslint -p tests && prettier --ignore-path .gitignore --list-different '**/*.{js,json,ts,yml}' && markdownlint \"*.md\"",
"postpublish": "git tag v$npm_package_version -a -m \"Release v$npm_package_version\" && git push --tags",
"prepack": "npm run build",
"prepublishOnly": "npm run test",
"pretest": "npm run lint",
"test": "npm run test:spec",
"test:spec": "jest --config jest.config.js"
},
"main": "dist/commonjs/index.js",
"module": "dist/esnext/index.js",
"typings": "dist/esnext/index.d.ts",
"typescript": {
"definition": "dist/esnext/index.d.ts"
}
}