1 | {
|
2 | "name": "create-next-app",
|
3 | "description": "Create Next.js apps in one command",
|
4 | "version": "0.5.7",
|
5 | "main": "index.js",
|
6 | "license": "MIT",
|
7 | "scripts": {
|
8 | "lint": "eslint *.js 'lib/**/*.js'",
|
9 | "fmt": "prettier --write *.{md,js,json} .github/*.md 'lib/**/*.{js,json}'",
|
10 | "test": "ava",
|
11 | "precommit": "lint-staged"
|
12 | },
|
13 | "bin": {
|
14 | "create-next-app": "./bin.js"
|
15 | },
|
16 | "engines": {
|
17 | "node": ">=4"
|
18 | },
|
19 | "repository": "segmentio/create-next-app",
|
20 | "bugs": {
|
21 | "url": "https://github.com/segmentio/create-next-app/issues"
|
22 | },
|
23 | "dependencies": {
|
24 | "@octokit/rest": "^15.9.4",
|
25 | "ansi-escapes": "^2.0.0",
|
26 | "chalk": "^1.1.3",
|
27 | "commander": "^2.9.0",
|
28 | "execa": "^0.6.3",
|
29 | "fs-extra": "^3.0.0",
|
30 | "got": "^8.3.1",
|
31 | "make-dir": "^1.3.0",
|
32 | "ms": "^1.0.0",
|
33 | "mz": "^2.6.0",
|
34 | "ora": "^1.2.0",
|
35 | "promise": "^7.1.1",
|
36 | "tar": "^4.4.4"
|
37 | },
|
38 | "keywords": [
|
39 | "next",
|
40 | "react",
|
41 | "next.js",
|
42 | "create-next-app",
|
43 | "create-react-app",
|
44 | "boilerplate"
|
45 | ],
|
46 | "devDependencies": {
|
47 | "ava": "^1.0.0-beta.6",
|
48 | "babel-eslint": "^8.2.5",
|
49 | "eslint": "^5.0.1",
|
50 | "eslint-config-prettier": "^2.9.0",
|
51 | "eslint-plugin-react": "^7.10.0",
|
52 | "husky": "^0.14.3",
|
53 | "lint-staged": "^7.2.0",
|
54 | "prettier": "^1.13.7",
|
55 | "tempy": "^0.2.1"
|
56 | },
|
57 | "eslintConfig": {
|
58 | "parser": "babel-eslint",
|
59 | "env": {
|
60 | "node": true
|
61 | },
|
62 | "extends": [
|
63 | "eslint:recommended",
|
64 | "prettier",
|
65 | "prettier/react",
|
66 | "plugin:react/recommended"
|
67 | ],
|
68 | "overrides": [
|
69 | {
|
70 | "files": [
|
71 | "lib/*.js",
|
72 | "lib/utils/*.js"
|
73 | ],
|
74 | "rules": {
|
75 | "no-console": 0
|
76 | }
|
77 | }
|
78 | ]
|
79 | },
|
80 | "lint-staged": {
|
81 | "*.js": [
|
82 | "eslint --fix",
|
83 | "prettier --write",
|
84 | "git add"
|
85 | ],
|
86 | "*.json": [
|
87 | "prettier --write",
|
88 | "git add"
|
89 | ],
|
90 | "*.md": [
|
91 | "prettier --write",
|
92 | "git add"
|
93 | ]
|
94 | },
|
95 | "prettier": {
|
96 | "semi": false,
|
97 | "singleQuote": true,
|
98 | "printWidth": 80,
|
99 | "bracketSpacing": true,
|
100 | "useTabs": false,
|
101 | "trailingComma": "none",
|
102 | "arrowParens": "avoid"
|
103 | }
|
104 | }
|