-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
70 lines (70 loc) · 1.76 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
{
"name": "decent-website",
"version": "0.1.0",
"description": "Noms documentation and landing pages",
"scripts": {
"start": "serve ./out",
"predev": "node update-docs",
"dev": "next",
"clean": "rm -rf out .next",
"precommit": "lint-staged",
"preexport": "npm run clean && node update-docs && NODE_ENV=production next build",
"export": "next export",
"test": "xo"
},
"now": {
"env": {
"NODE_ENV": "production"
},
"files": ["out"]
},
"lint-staged": {
"linters": {
"*.{js,jsx,json}": [
"npm run test",
"prettier --single-quote --no-semi --trailing-comma all --bracket-spacing false --print-width 100 --write",
"git add"
]
}
},
"xo": {
"extends": ["prettier"],
"env": ["browser", "node"],
"plugins": ["react", "unicorn"],
"parser": "babel-eslint",
"rules": {
"no-warning-comments": 1,
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"unicorn/filename-case": "off"
}
},
"author": "Jesse Ditson <[email protected]>",
"private": true,
"devDependencies": {
"babel-eslint": "^8.0.0",
"babel-plugin-inline-react-svg": "^0.4.0",
"bodymovin": "^4.10.2",
"eslint-config-prettier": "^2.4.0",
"eslint-plugin-react": "^7.3.0",
"html-loader": "^0.5.1",
"husky": "^0.14.3",
"lint-staged": "^4.0.2",
"mkdirp": "^0.5.1",
"next": "jesseditson/next.js#noms_docs",
"nodegit": "^0.20.2",
"now": "^8.2.5",
"prettier": "1.5.3",
"prop-types": "^15.5.10",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"showdown": "^1.7.4",
"url-loader": "^0.5.9",
"webpack": "^3.5.6",
"xo": "0.18.2"
},
"dependencies": {
"highlight.js": "^9.12.0",
"serve": "^6.0.6"
}
}