forked from clintonwoo/hackernews-react-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 3.09 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
{
"name": "hackernews",
"version": "0.5.0",
"description": "A hacker news clone built from the ground up to demonstrate React and GraphQL",
"engines": {
"node": ">=6.9.4"
},
"scripts": {
"dev": "babel-node src/server.js",
"nodemon": "nodemon src/server.js --exec babel-node",
"debug": "DEBUG=app:* npm run dev",
"debug-all": "DEBUG=* npm run dev",
"debug-mode": "babel-node --inspect src/server.js",
"graphiql": "babel-node ./src/data/graphiql",
"test": "jest",
"build": "npm run build-clean && yarn install --dev && babel src -d build/app --ignore '**/*__tests__','**/*__mocks__' && cp -R src/static build/app/static && next build build/app",
"build-clean": "rm -rf build/app",
"build-next": "yarn install --dev && next build src",
"build-docker": "docker build -t clintonwoo/hackernews-react-graphql . && docker run -p 80:3000 --name hackernews-react-graphql clintonwoo/hackernews-react-graphql",
"build-static-website": "NODE_ENV=production rm -rf build/static && yarn install --dev && next build src && next export src -o build/static",
"start": "NODE_ENV=production node build/app/server.js"
},
"author": "Clinton D'Annolfo",
"license": "Apache-2.0",
"keywords": [
"hacker-news",
"clone",
"react",
"graphql"
],
"dependencies": {
"apollo-cache-inmemory": "^1.1.10",
"apollo-client": "^2.2.6",
"apollo-fetch": "^0.7.0",
"apollo-link-http": "^1.5.3",
"apollo-server-express": "^1.3.2",
"babel-runtime": "^6.26.0",
"body-parser": "^1.17.2",
"cookie": "^0.3.1",
"cookie-parser": "^1.4.3",
"debug": "^3.0.1",
"dotenv": "^4.0.0",
"express": "^4.15.4",
"express-session": "^1.15.5",
"firebase": "^4.3.1",
"graphql": "^0.13.1",
"graphql-tag": "^2.8.0",
"graphql-tools": "^2.21.0",
"isomorphic-fetch": "^2.2.1",
"lru-cache": "^4.1.1",
"next": "^5.0.0",
"passport": "^0.4.0",
"passport-local": "^1.0.0",
"prop-types": "^15.6.1",
"react": "^16.2.0",
"react-apollo": "^2.0.4",
"react-dom": "^16.2.0",
"react-render-html": "^0.6.0",
"url": "^0.11.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.1",
"eslint": "^4.5.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.2.1",
"jest": "^22.4.2",
"jest-enzyme": "^5.0.2",
"mockdate": "^2.0.2",
"nodemon": "^1.12.0",
"react-test-renderer": "^16.0.0"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/test-setup.js",
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"nodemonConfig": {
"ignore": [
"src/.next*",
"src/pages*"
],
"delay": "10",
"verbose": false,
"watch": [
"src"
]
}
}