-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
154 lines (154 loc) · 4.08 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "@tedconf/react-show-more",
"version": "1.1.0",
"description": "A unopinionated component to handle showing more results",
"publishConfig": {
"access": "public"
},
"main": "dist/react-show-more-list.js",
"module": "dist/react-show-more-list.es.js",
"browser": "dist/react-show-more-list.min.js",
"scripts": {
"build": "bili --js babel --format cjs,es,umd,umd-min --external react",
"prebuild": "yarn test:fast && yarn lint && yarn typecheck",
"lint": "eslint src",
"typecheck": "yarn flow check",
"prepush": "yarn test:fast",
"prepublishOnly": "yarn build",
"test": "yarn test:fast --ci --colors --silent --coverage",
"test:fast": "jest --colors",
"test:watch": "yarn flow && jest --watch",
"cz": "git-cz",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/tedconf/react-show-more.git"
},
"eslintConfig": {
"extends": "airbnb",
"plugins": [
"flowtype"
],
"parser": "babel-eslint",
"env": {
"browser": true
},
"rules": {
"function-paren-newline": 0,
"react/jsx-filename-extension": 0
}
},
"files": [
"dist"
],
"keywords": [
"react",
"render-prop",
"pagination",
"show",
"more"
],
"author": "Vince Speelman",
"license": "MIT",
"bugs": {
"url": "https://github.com/tedconf/react-show-more/issues"
},
"homepage": "https://github.com/tedconf/react-show-more#readme",
"peerDependencies": {
"react": ">=15"
},
"devDependencies": {
"@semantic-release/changelog": "1.0.0",
"@semantic-release/git": "3.0.0",
"@semantic-release/npm": "3.0.1",
"babel-eslint": "8.2.1",
"babel-jest": "22.1.0",
"babel-plugin-external-helpers": "6.22.0",
"babel-preset-env": "1.6.1",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"bili": "2.2.6",
"commitizen": "2.9.6",
"conventional-changelog-cli": "1.3.9",
"coveralls": "3.0.0",
"cz-emoji": "1.1.0",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"enzyme-to-json": "3.3.1",
"eslint": "^4.9.0",
"eslint-config-airbnb": "16.1.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"flow-bin": "0.65.0",
"jest": "22.1.4",
"raf": "3.4.0",
"react": "16.2.0",
"react-dom": "16.2.0",
"semantic-release": "^13.1.3",
"travis-deploy-once": "^4.3.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json"
],
"setupFiles": [
"./test-setup.js"
],
"collectCoverageFrom": [
"src/**/*.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleDirectories": [
"node_modules",
"src"
],
"roots": [
"<rootDir>/src"
]
},
"analyzeCommits": {
"releaseRules": [
{"type": "docs", "scope":"README", "release": "patch"},
{"type": "build", "release": "patch"},
{"type": "revert", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "style", "release": "patch"},
{"type": "feat", "release": "minor"},
{"type": "fix", "release": "patch"},
{"type": "perf", "release": "patch"}
],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
}
},
"release": {
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
{
"path": "@semantic-release/git",
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"publish": [
"@semantic-release/npm",
{
"path": "@semantic-release/git",
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
},
"dependencies": {
"babel-preset-flow": "6.23.0",
"eslint-plugin-flowtype": "2.43.0"
}
}