-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
128 lines (128 loc) · 4.34 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
{
"name": "nextjs-movie-browser",
"version": "2.0.1",
"private": true,
"description": "A NextJS implementation of the themoviedb.org website.",
"keywords": [
"NextJS",
"ReactJS",
"TypeScript",
"Tslint",
"Jest",
"Cypress.io",
"i18n"
],
"repository": {
"url": "https://github.com/topheman/nextjs-movie-browser.git",
"type": "git"
},
"license": "MIT",
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon server",
"build": "next build",
"heroku-postbuild": "next build",
"start": "cross-env NODE_ENV=production node server",
"test": "npm-run-all --parallel --silent test:unit test:cypress",
"test:travis": "npm-run-all --parallel --silent test:unit test:cypress:travis",
"test:travis:pr": "npm test",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test:unit:coverage": "jest --coverage",
"test:unit:verbose": "jest --verbose",
"test:cypress": "npm run build && cross-env STRIP_SERVER_CONSOLE=true npm run cy:start-server-and-test",
"test:cypress:travis": "npm run build && cross-env STRIP_SERVER_CONSOLE=true npm run cy:start-server-and-test:travis",
"test:cypress:dev": "npm-run-all --parallel --race dev cy:open",
"test:cypress:debug-build": "npm run build && cross-env CYPRESS_LAUNCH_MODE=debug-build npm-run-all --parallel --race start cy:open",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:run:travis": "npx cypress run --record --config video=true",
"cy:start-server-and-test": "npx start-server-and-test start :3000 cy:run",
"cy:start-server-and-test:travis": "npx start-server-and-test start :3000 cy:run:travis",
"ts:check": "tsc --noEmit",
"lint": "npx tslint --project tsconfig.json -c tslint.json '**/*.{js,ts,tsx}'",
"pretty": "npx prettier --write '**/*.{tsx,ts,js,jsx,json,css,scss,md}'",
"lint:precommit": "npm run lint",
"test:precommit": "npm run ts:check && npm test",
"generate-changelog": "./bin/generate-changelog.js"
},
"lint-staged": {
"**/*.{tsx,ts,js,jsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run lint:precommit && npm run test:precommit"
}
},
"engines": {
"node": "^10.15.0"
},
"author": "Christophe Rosset <[email protected]> (http://labs.topheman.com/)",
"dependencies": {
"axios": "^0.18.0",
"axios-mock-adapter": "^1.16.0",
"axios-retry": "^3.1.2",
"classnames": "^2.2.6",
"cookie-parser": "^1.4.3",
"dotenv": "^6.2.0",
"dotenv-expand": "^4.2.0",
"downshift": "^3.2.4",
"express": "^4.16.4",
"git-rev-sync": "^1.12.0",
"hoist-non-react-statics": "^3.3.0",
"invariant": "^2.2.4",
"isomorphic-fetch": "^2.2.1",
"mobx": "^5.9.0",
"mobx-react": "^5.4.3",
"moment": "^2.24.0",
"next": "^8.0.3",
"next-i18next": "^0.21.0",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-i18next": "9.0.9",
"react-sidebar": "^3.0.2",
"styled-components": "^4.1.3"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-proposal-decorators": "^7.3.0",
"@cypress/webpack-preprocessor": "^4.0.3",
"@types/classnames": "^2.2.7",
"@types/cookie-parser": "^1.4.1",
"@types/express": "^4.16.0",
"@types/hoist-non-react-statics": "^3.0.1",
"@types/invariant": "^2.2.29",
"@types/jest": "^23.3.13",
"@types/next": "^8.0.1",
"@types/node": "^10.12.18",
"@types/react": "^16.8.4",
"@types/react-dom": "^16.8.2",
"@types/react-sidebar": "^3.0.0",
"@types/styled-components": "^4.1.12",
"@zeit/next-typescript": "^1.1.1",
"babel-core": "^7.0.0-bridge",
"babel-jest": "^23.6.0",
"babel-plugin-styled-components": "^1.10.0",
"cross-env": "^5.2.0",
"cypress": "^3.1.5",
"cypress-plugin-tab": "^1.0.0",
"cypress-testing-library": "^2.3.6",
"generate-changelog": "^1.7.1",
"github-url-from-git": "^1.5.0",
"husky": "^1.3.1",
"jest": "^23.6.0",
"jest-dom": "^3.0.0",
"lint-staged": "^8.1.0",
"nodemon": "^1.18.9",
"npm-run-all": "^4.1.5",
"prettier": "1.16.0",
"react-testing-library": "^5.5.3",
"start-server-and-test": "^1.7.11",
"tslint": "^5.13.1",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.2.4"
}
}