-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 3.21 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
{
"name": "meshify",
"version": "0.0.1",
"description": "Code assesment for meshify",
"main": "index.ts",
"scripts": {
"api": "now-lambda",
"clean": "rimraf .next",
"analyze": "cross-env ANALYZE=all npm run build",
"dev": "next",
"debug": "npm run build:next && cross-env NODE_ENV=development nodemon --inspect server.ts -p $PORT",
"build": "npm run clean && npm run build:next && npm run build:server",
"build:next": "next build",
"build:server": "cp ./server.ts .next/server.ts && cp ./routes.ts .next/routes.ts && cp -r static .next/static",
"start": "cross-env NODE_ENV=production node server.ts -p $PORT",
"test": "jest",
"tslint": "./node_modules/.bin/tslint -c tslint.json -p tsconfig.json"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/jdetle/code_assessment.git"
},
"author": "John Joseph Patrick Detlefs",
"license": "MIT",
"bugs": {
"url": "https://github.com/jdetle/code_assessment/issues"
},
"homepage": "https://github.com/jdetle/code_assessment#readme",
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@types/d3": "^5.5.0",
"@types/jest": "^23.3.11",
"@types/next": "^7.0.6",
"@types/react": "^16.7.18",
"@types/react-dom": "^16.0.11",
"@types/styled-components": "^4.1.4",
"@zeit/next-bundle-analyzer": "^0.1.2",
"@zeit/next-typescript": "^1.1.1",
"babel-plugin-styled-components": "^1.10.0",
"babel-plugin-transform-define": "^1.3.1",
"cross-env": "^5.2.0",
"express": "^4.16.4",
"husky": "^1.2.1",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"next": "^7.0.2",
"now-lambda-runner": "^2.0.0",
"polished": "^2.3.1",
"prettier": "^1.15.3",
"rimraf": "^2.6.2",
"ts-jest": "^23.10.5",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^3.6.0",
"typescript": "^3.2.2",
"webpack-bundle-analyzer": "^3.0.3"
},
"dependencies": {
"d3": "^5.7.0",
"nextjs-dynamic-routes": "^2.2.1",
"react": "^16.7.0-alpha2",
"react-dom": "^16.7.0-alpha2",
"react-fns": "^1.4.0",
"react-highlight-words": "^0.15.0",
"roughjs": "^2.2.5",
"styled-components": "^4.1.3"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/*.(test|spec).(ts|tsx)"
],
"globals": {
"ts-jest": {
"babelConfig": true,
"tsConfig": "jest.tsconfig.json"
}
},
"coveragePathIgnorePatterns": [
"/node_modules/",
"enzyme.js"
],
"coverageReporters": [
"json",
"lcov",
"text",
"text-summary"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/mocks.js",
"\\.(css|less)$": "<rootDir>/__mocks__/mocks.js"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}