This repository has been archived by the owner on Feb 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 3.18 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
{
"name": "peril.systems",
"version": "1.0.0",
"description": "The user facing site for Peril",
"main": "index.js",
"repository": "https://github.com/danger/peril.systems.git",
"author": "Orta Therox <[email protected]>",
"license": "MIT",
"private": true,
"scripts": {
"dev": "concurrently --kill-others 'yarn next --inspect' 'yarn relay --watch'",
"build": "next build",
"start": "next start",
"schema:download": "yarn run schema:download:gql && yarn run schema:download:json",
"schema:download:gql": "yarn graphql get-schema -e http://localhost:5000/api/graphql -o data/schema.graphql",
"schema:download:json": "yarn graphql get-schema -e http://localhost:5000/api/graphql -o data/schema.json --json",
"relay":
"yarn relay-compiler --src ./ --include 'pages/**/*' 'components/**/*' --schema data/schema.graphql --language typescript"
},
"resolutions": {
"graphql": "^0.12.3",
"babel-plugin-relay":
"https://github.com/alloy/relay/releases/download/v1.5.0-artsy.5/babel-plugin-relay-1.5.0-artsy.5.tgz",
"relay-compiler":
"https://github.com/alloy/relay/releases/download/v1.5.0-artsy.5/relay-compiler-1.5.0-artsy.5.tgz",
"relay-runtime": "https://github.com/alloy/relay/releases/download/v1.5.0-artsy.5/relay-runtime-1.5.0-artsy.5.tgz",
"react-relay": "https://github.com/alloy/relay/releases/download/v1.5.0-artsy.5/react-relay-1.5.0-artsy.5.tgz"
},
"dependencies": {
"@babel/preset-typescript": "^7.0.0-beta.42",
"@types/next": "^2.4.9",
"@types/react-dom": "^16.0.5",
"@types/react-relay": "^1.3.4",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-relay":
"https://github.com/alloy/relay/releases/download/v1.5.0-artsy.5/babel-plugin-relay-1.5.0-artsy.5.tgz",
"dotenv-webpack": "^1.5.5",
"husky": "^0.14.3",
"install": "^0.11.0",
"isomorphic-unfetch": "^2.0.0",
"jest": "^22.4.3",
"lint-staged": "^7.0.4",
"next": "^6.0.1-canary.0",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-relay": "https://github.com/alloy/relay/releases/download/v1.5.0-artsy.5/react-relay-1.5.0-artsy.5.tgz",
"relay-compiler":
"https://github.com/alloy/relay/releases/download/v1.5.0-artsy.5/relay-compiler-1.5.0-artsy.5.tgz",
"relay-compiler-language-typescript": "^0.9.0",
"ts-jest": "^22.4.4",
"typescript": "^2.8.3"
},
"devDependencies": {
"@playlyfe/gql": "^2.6.0",
"@types/jest": "^22.2.3",
"@types/prop-types": "^15.5.2",
"@types/react": "^16.3.12",
"concurrently": "^3.5.1",
"graphql-cli": "^2.15.9",
"prettier": "^1.12.1",
"tslint": "^5.9.1"
},
"prettier": {
"printWidth": 120,
"semi": false,
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true
},
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(.test)\\.(ts|tsx)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"]
},
"lint-staged": {
"*.json": ["yarn prettier --write", "git add"],
"*.ts": ["tslint --fix", "yarn prettier --write", "git add"],
"*test.ts": ["jest -u"],
"*.md": ["yarn prettier --write", "git add"]
}
}