-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
47 lines (47 loc) · 1.98 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
{
"name": "gitmoji.com",
"version": "1.0.1",
"description": "Gitmoji Triangle — More than a Github Emoji Cheat Sheet!",
"repository": "shoplinksys/gitmoji",
"bugs": "https://github.com/shoplinksys/gitmoji/issues",
"homepage": "http://gitmoji.com",
"scripts": {
"dev": "concurrently \"tsc --pretty --watch > /dev/null \" next",
"format": "prettier --list-different --write \"pages/**/*.ts*\" \"static/**/*.(html|css)\"",
"build": "npm run format && tsc --pretty --listEmittedFiles; next build && next export -o docs && echo 'gitmoji.com' > ./docs/CNAME && open ./docs/index.html",
"deploy": "git add docs && git commit -m '🚀 gitmoji.com' -- docs && echo -e ' ------------------------------------------------------------------------------- \n ---------- 🔍 If everything looks good, run >git push< to publish. 🔎 ---------- \n ------------------------------------------------------------------------------- '",
"deploy-build": "npm run build && npm run deploy",
"start": "next start",
"untrack-sketch": "git update-index --skip-worktree ./static/gitmoji-triangle.sketch",
"track-sketch": "git update-index --no-skip-worktree ./static/gitmoji-triangle.sketch",
"update-sketch": "npm run track-sketch && git commit -m '🍱📦 Updating Sketchfile' ./static/gitmoji-triangle.sketch && npm run untrack-sketch",
"precommit": "lint-staged"
},
"dependencies": {
"next": "^3.2.2",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"rebass": "^1.0.4"
},
"devDependencies": {
"@types/node": "^8.0.28",
"@types/react": "^15.6.2",
"concurrently": "^3.5.0",
"husky": "^0.14.3",
"lint-staged": "^4.2.1",
"prettier": "^1.7.0",
"tslint": "^5.7.0",
"tslint-config-prettier": "^1.5.0",
"typescript": "^2.5.2"
},
"prettier": {
"singleQuote": false,
"trailingComma": "es5"
},
"lint-staged": {
"{pages,static}/**/*.{ts,tsx,js,json,html,css}": [
"prettier --list-different --write",
"git add"
]
}
}