forked from carloscuesta/gitmoji
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.5 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 1.5 KB
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
{
"name": "gitmoji",
"version": "1.0.0",
"private": true,
"scripts": {
"build": "next build",
"dev": "next dev",
"export": "next export && touch out/.nojekyll",
"flow": "flow",
"lint": "prettier --check src/**/*.{js,json,scss}",
"start": "next start",
"test": "jest --coverage",
"validate:gitmojis": "jsonlint ./src/data/gitmojis.json -V ./src/data/schema.json"
},
"dependencies": {
"@babel/preset-flow": "^7.0.0",
"@zeit/next-sass": "^1.0.1",
"next": "9.1.1",
"node-sass": "^4.13.0",
"react": "16.11.0",
"react-dom": "16.11.0",
"react-test-renderer": "^16.11.0"
},
"devDependencies": {
"flow-bin": "^0.110.1",
"husky": "^3.0.9",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"jsonlint": "^1.6.3",
"lint-staged": "^10.0.0-1",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"prettier": "1.18.2"
},
"prettier": {
"semi": false,
"singleQuote": true,
"arrowParens": "always"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write src/**/*.{js,json,scss}",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run flow && npm run test"
}
},
"babel": {
"presets": [
"next/babel",
"@babel/preset-flow"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"testMatch": [
"**/*.(spec).(js)"
],
"moduleNameMapper": {
"\\.(scss)$": "identity-obj-proxy"
}
}
}