-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
122 lines (122 loc) · 3.28 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@mozaik/ext-time",
"version": "2.0.0-alpha.11",
"description": "Mozaik time widgets",
"repository": {
"type": "git",
"url": "git://github.com/plouc/mozaik-ext-time"
},
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
"url": "https://github.com/plouc"
},
"homepage": "https://github.com/plouc/mozaik-ext-time",
"main": "./lib/components/index.js",
"module": "es/components/index.js",
"jsnext:main": "es/components/index.js",
"keywords": [
"time",
"mozaik",
"widget",
"extension",
"dashboard"
],
"engineStrict": true,
"engines": {
"node": ">=6.0.0",
"npm": ">=3.0.0"
},
"dependencies": {
"classnames": "2.2.5",
"d3": "^3.5.5",
"lodash": "^4.17.4",
"lodash-es": "^4.17.4",
"moment": "^2.18.1",
"moment-timezone": "^0.5.13",
"prop-types": "^15.5.10",
"react-icons": "^2.2.5",
"react-measure": "^2.0.2",
"styled-components": "^2.1.1"
},
"devDependencies": {
"@mozaik/babel-preset": "^1.0.0-alpha.6",
"@mozaik/ui": "^2.0.0-alpha.11",
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"coveralls": "2.11.12",
"cross-env": "^5.0.1",
"enzyme": "^2.9.1",
"eslint": "^4.2.0",
"eslint-plugin-react": "^7.1.0",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lint-staged": "^4.0.2",
"nyc": "8.1.0",
"prettier": "^1.5.3",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"validate-commit-msg": "^2.14.0"
},
"peerDependencies": {
"@mozaik/ui": "^2.0.0-alpha.11",
"react": "^15.6.1"
},
"scripts": {
"lint": "eslint ./src/** ./test/**",
"lint:fix": "eslint --fix ./src/** ./test/**",
"test": "jest --verbose",
"coverage": "cat ./coverage/lcov.info | coveralls",
"test:cover": "jest --verbose --coverage",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build": "npm run build:commonjs && npm run build:es",
"fmt": "prettier --print-width=100 --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --color --write \"{src,test}/**/*.js\"",
"fmt:check": "prettier --print-width=100 --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --list-different \"{src,test}/**/*.js\"",
"prepublishOnly": "npm run lint && npm test && npm run build",
"version": "echo ${npm_package_version}",
"precommit": "lint-staged",
"commitmsg": "validate-commit-msg"
},
"lint-staged": {
"*.js": [
"lint:fix",
"fmt",
"git add",
"jest --bail --findRelatedTests"
]
},
"config": {
"validate-commit-msg": {
"types": [
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"build",
"ci",
"chore",
"revert"
],
"scope": {
"required": true,
"allowed": [
"*"
],
"validate": false,
"multiple": false
},
"warnOnFail": false,
"maxSubjectLength": 80,
"subjectPattern": ".+",
"subjectPatternErrorMsg": "subject does not match subject pattern!",
"helpMessage": "",
"autoFix": false
}
}
}