/
package.json
147 lines (147 loc) · 4.85 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "zamiang-dot-contentful",
"version": "0.0.1",
"description": "A Node.js app using Express 4 with Webpack, React. Data stored on Contentful",
"repository": "https://github.com/zamiang/zamiang-dot-contentful",
"main": "index.js",
"scripts": {
"lint": "tslint --project tsconfig.json --config tslint.json",
"prettier": "prettier --write \"{app,server,webpack,scripts}/**/*.{ts,tsx,js,css,graphql}\"",
"typecheck": "tsc --project tsconfig.json --noEmit --pretty",
"stylelint": "stylelint 'app/**/*.css'",
"clean": "rimraf public && rimraf compiled",
"start": "cross-env NODE_ENV=production node compiled/server.js",
"dev": "cross-env NODE_ENV=development nodemon",
"build:dev": "cross-env NODE_ENV=development webpack --colors --display-error-details --config ./webpack/webpack.config.js",
"build": "yarn run clean && cross-env NODE_ENV=production webpack --colors --display-error-details --config ./webpack/webpack.config.js",
"stats": "yarn run clean && cross-env NODE_ENV=production webpack --json > stats.json",
"postinstall": "if [ $BUILD_ASSETS ]; then yarn run build; else yarn run build:dev; fi",
"update-schema": "yarn check --verify-tree && ./scripts/generate-schema-types.sh",
"codegen": "yarn check --verify-tree && ./scripts/codegen.sh",
"typegen": "yarn check --verify-tree && ./scripts/generate-schema-types.sh && ./scripts/codegen.sh",
"test": "jest",
"test:watch": "yarn test -- --watch",
"test:notify": "yarn run test:watch -- --notify",
"coverage": "npm test -- --coverage",
"coverage:notify": "npm run coverage -- --watch --notify"
},
"author": "Brennan Moore",
"license": "MIT",
"jest": {
"transform": {
"\\.(gql|graphql)$": "jest-transform-graphql",
"^.+\\.(j|t)sx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": ".*\\.spec\\.ts$",
"moduleNameMapper": {
"\\.(css)$": "identity-obj-proxy"
},
"collectCoverageFrom": [
"app/**/*.{ts,tsx}",
"server/**/*.{ts,tsx}",
"!app/assets/**",
"!app/**/*.css.d.ts",
"!app/graphql/**"
],
"mapCoverage": true,
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"globals": {
"ts-jest": {
"skipBabel": true
}
}
},
"devDependencies": {
"caniuse-lite": "^1.0.30000807",
"cssnano": "^3.10.0",
"expect": "^22.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^22.2.2",
"nodemon": "^1.10.2",
"prettier": "^1.10.2",
"react-addons-test-utils": "^15.4.2",
"ts-jest": "^22.0.3",
"tslint": "^5.9.1",
"tslint-microsoft-contrib": "^5.0.2"
},
"engines": {
"node": "8.x"
},
"dependencies": {
"@types/body-parser": "^1.16.8",
"@types/dotenv": "^4.0.2",
"@types/express": "^4.0.35",
"@types/graphql": "^0.12.3",
"@types/marked": "^0.3.0",
"@types/method-override": "^0.0.31",
"@types/morgan": "^1.7.32",
"@types/node": "8.5.7",
"@types/react": "^16.0.36",
"@types/react-dom": "^16.0.3",
"@types/react-helmet": "^5.0.3",
"@types/react-redux": "^5.0.14",
"@types/react-router": "3",
"@types/redux-logger": "^3.0.5",
"@types/webpack": "^3.8.4",
"apollo-codegen": "^0.18.3",
"autoprefixer": "^7.2.6",
"awesome-typescript-loader": "^3.0.4-rc.2",
"axios": "^0.17.1",
"body-parser": "^1.16.0",
"concurrently": "^3.3.0",
"cross-env": "^5.1.3",
"css-loader": "^0.28.9",
"dotenv": "^5.0.0",
"express": "^4.13.4",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.6",
"gql2ts": "^1.4.1",
"graphql": "^0.12.3",
"graphql-document-collector": "^0.2.1",
"graphql-server-express": "^1.3.2",
"graphql-tag": "^2.7.3",
"graphql-tools": "^2.20.2",
"helmet": "^3.11.0",
"jest-transform-graphql": "^2.1.0",
"marked": "^0.3.5",
"method-override": "^2.3.7",
"moment": "^2.17.1",
"morgan": "^1.8.1",
"postcss-cssnext": "^3.1.0",
"postcss-import": "^11.1.0",
"postcss-loader": "^2.1.0",
"postcss-reporter": "^5.0.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-helmet": "^5.2.0",
"react-markdown": "^3.1.5",
"react-redux": "^5.0.2",
"react-router": "3",
"react-router-redux": "^4.0.8",
"react-transform-hmr": "^1.0.4",
"redux": "^3.6.0",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"rimraf": "^2.5.4",
"source-map-support": "^0.5.3",
"style-loader": "^0.20.1",
"stylelint": "^8.4.0",
"stylelint-config-standard": "^18.0.0",
"tinycolor2": "^1.4.1",
"ts-loader": "^3.5.0",
"typescript": "^2.1.6",
"typings-for-css-modules-loader": "^1.7.0",
"uglifyjs-webpack-plugin": "^1.1.8",
"url-loader": "^0.6.2",
"warning": "^3.0.0",
"webpack": "^3.11.0",
"webpack-dev-middleware": "^2.0.5",
"webpack-s3-plugin": "^1.0.0-rc.0"
}
}