-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
89 lines (89 loc) · 2.83 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
{
"name": "@mozaik/ext-github",
"version": "2.0.0-alpha.10",
"description": "Mozaik github widgets",
"repository": {
"type": "git",
"url": "git://github.com/plouc/mozaik-ext-github"
},
"license": "MIT",
"author": {
"name": "Raphaël Benitte",
"url": "https://github.com/plouc"
},
"homepage": "https://github.com/plouc/mozaik-ext-github",
"main": "./lib/components/index.js",
"module": "es/components/index.js",
"jsnext:main": "es/components/index.js",
"keywords": [
"github",
"mozaik",
"widget",
"extension",
"dashboard"
],
"engineStrict": true,
"engines": {
"node": ">=8.3.0",
"npm": ">=3.0.0"
},
"dependencies": {
"chalk": "^2.1.0",
"convict": "^4.0.0",
"moment": "^2.18.1",
"moment-duration-format": "1.3.0",
"prop-types": "^15.5.10"
},
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"@mozaik/babel-preset": "^1.0.0-alpha.6",
"@mozaik/ui": "^2.0.0-rc.0",
"babel-cli": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"coveralls": "^2.13.1",
"cross-env": "^5.0.5",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.2.0",
"eslint-plugin-react": "^7.10.0",
"husky": "^0.14.3",
"jest": "^23.4.2",
"lint-staged": "^7.2.0",
"nivo": "^0.15.0",
"nock": "^9.0.14",
"prettier": "^1.14.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-test-renderer": "^16.4.0",
"styled-components": "^2.1.2"
},
"peerDependencies": {
"@mozaik/ui": "^2.0.0-rc.0",
"nivo": "^0.15.0",
"react": "^16.4.0"
},
"scripts": {
"lint": "eslint ./src/** ./test/**",
"lint:fix": "eslint --fix ./src/** ./test/**",
"test": "jest --verbose",
"test:cover": "jest --verbose --coverage",
"coverage": "cat ./coverage/lcov.info | coveralls",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:commonjs:watch": "npm run build:commonjs -- --watch",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:es:watch": "npm run build:es -- --watch",
"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\" 'client.js'",
"fmt:check": "prettier --print-width=100 --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --list-different \"{src,test}/**/*.js\" 'client.js'",
"prepublishOnly": "npm run lint && npm test && npm run build",
"version": "echo ${npm_package_version}",
"precommit": "lint-staged",
"commitmsg": "commitlint -E GIT_PARAMS"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>test/setupTests.js",
"testURL": "http://localhost/"
}
}