Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (68 sloc) 1.4 KB
{
"name": "hello-next",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "node server.js",
"build": "next build",
"start": "NODE_ENV=production node server.js",
"test": "node test.js",
"lint:staged": "lint-staged",
"analyze": "cross-env ANALYZE=1 next build"
},
"lint-staged": {
"*.js": [
"prettier --write --single-quote",
"git add"
]
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"babel-plugin-styled-components": "^1.2.1",
"express": "^4.16.2",
"graphql-request": "^1.4.0",
"isomorphic-unfetch": "^1.0.0",
"next": "^4.0.1",
"nprogress": "^0.2.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"styled-components": "^2.2.1"
},
"babel": {
"presets": [
[
"env",
{
"modules": "commonjs"
}
],
"next/babel"
],
"plugins": [
[
"styled-components",
{
"ssr": true,
"displayName": true,
"preprocess": false
}
]
]
},
"devDependencies": {
"cross-env": "^5.1.0",
"jest": "^20.0.4",
"lint-staged": "^3.6.1",
"pre-commit": "^1.2.2",
"prettier": "^1.4.4",
"react-test-renderer": "^16.0.0",
"webpack-bundle-analyzer": "^2.9.0"
},
"pre-commit": "lint:staged",
"jest": {
"testRegex": "/__tests__/.*\\.js$"
}
}