Skip to content

Commit c89afa8

Browse files
committed
chore: add configuration to generate Changelog
1 parent f21a4c3 commit c89afa8

File tree

1 file changed

+141
-127
lines changed

1 file changed

+141
-127
lines changed

package.json

Lines changed: 141 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -1,134 +1,148 @@
11
{
2-
"name": "react-native-reanimated-carousel",
3-
"version": "1.2.0-beta.2",
4-
"description": "Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth.",
5-
"main": "lib/commonjs/index",
6-
"module": "lib/module/index",
7-
"types": "lib/typescript/index.d.ts",
8-
"react-native": "src/index",
9-
"source": "src/index",
10-
"files": [
11-
"src",
12-
"lib",
13-
"android",
14-
"ios",
15-
"cpp",
16-
"react-native-reanimated-carousel.podspec",
17-
"!lib/typescript/example",
18-
"!android/build",
19-
"!ios/build",
20-
"!**/__tests__",
21-
"!**/__fixtures__",
22-
"!**/__mocks__"
23-
],
24-
"scripts": {
25-
"test": "jest",
26-
"typescript": "tsc --noEmit",
27-
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
28-
"prepare": "bob build",
29-
"release": "release-it",
30-
"example": "yarn --cwd example",
31-
"pods": "cd example && pod-install --quiet",
32-
"bootstrap": "yarn example && yarn && yarn pods"
33-
},
34-
"keywords": [
35-
"react-native",
36-
"ios",
37-
"android"
38-
],
39-
"repository": "https://github.com/dohooo/react-native-reanimated-carousel",
40-
"author": "Doho <[email protected]> (https://github.com/dohooo)",
41-
"license": "MIT",
42-
"bugs": {
43-
"url": "https://github.com/dohooo/react-native-reanimated-carousel/issues"
44-
},
45-
"homepage": "https://github.com/dohooo/react-native-reanimated-carousel#readme",
46-
"publishConfig": {
47-
"registry": "https://registry.npmjs.org/"
48-
},
49-
"devDependencies": {
50-
"@commitlint/config-conventional": "^11.0.0",
51-
"@react-native-community/eslint-config": "^2.0.0",
52-
"@release-it/conventional-changelog": "^2.0.0",
53-
"@types/jest": "^26.0.0",
54-
"@types/react": "^16.9.19",
55-
"@types/react-native": "0.62.13",
56-
"commitlint": "^11.0.0",
57-
"cz-conventional-changelog": "^3.3.0",
58-
"eslint": "^7.2.0",
59-
"eslint-config-prettier": "^7.0.0",
60-
"eslint-plugin-prettier": "^3.1.3",
61-
"gifify": "^2.4.3",
62-
"husky": "^4.2.5",
63-
"jest": "^26.0.1",
64-
"pod-install": "^0.1.0",
65-
"prettier": "^2.0.5",
66-
"react": "16.13.1",
67-
"react-native": "0.63.4",
68-
"react-native-builder-bob": "^0.18.1",
69-
"react-native-gesture-handler": "^1.10.3",
70-
"react-native-reanimated": "^2.2.0",
71-
"release-it": "^14.2.2",
72-
"typescript": "^4.0.8"
73-
},
74-
"peerDependencies": {
75-
"react": ">=16.8.0",
76-
"react-native": ">=0.6.0",
77-
"react-native-gesture-handler": "*",
78-
"react-native-reanimated": ">=2.0.0"
79-
},
80-
"jest": {
81-
"preset": "react-native",
82-
"modulePathIgnorePatterns": [
83-
"<rootDir>/example/node_modules",
84-
"<rootDir>/lib/"
85-
]
86-
},
87-
"husky": {
88-
"hooks": {
89-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
90-
"pre-commit": "yarn lint && yarn typescript"
91-
}
92-
},
93-
"commitlint": {
94-
"extends": [
95-
"@commitlint/config-conventional"
96-
]
97-
},
98-
"release-it": {
99-
"git": {
100-
"commitMessage": "chore: release ${version}",
101-
"tagName": "v${version}"
2+
"name": "react-native-reanimated-carousel",
3+
"version": "1.2.0-beta.2",
4+
"description": "Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth.",
5+
"main": "lib/commonjs/index",
6+
"module": "lib/module/index",
7+
"types": "lib/typescript/index.d.ts",
8+
"react-native": "src/index",
9+
"source": "src/index",
10+
"files": [
11+
"src",
12+
"lib",
13+
"android",
14+
"ios",
15+
"cpp",
16+
"react-native-reanimated-carousel.podspec",
17+
"!lib/typescript/example",
18+
"!android/build",
19+
"!ios/build",
20+
"!**/__tests__",
21+
"!**/__fixtures__",
22+
"!**/__mocks__"
23+
],
24+
"scripts": {
25+
"test": "jest",
26+
"typescript": "tsc --noEmit",
27+
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
28+
"prepare": "bob build",
29+
"release": "release-it",
30+
"example": "yarn --cwd example",
31+
"pods": "cd example && pod-install --quiet",
32+
"bootstrap": "yarn example && yarn && yarn pods"
10233
},
103-
"npm": {
104-
"publish": true
34+
"keywords": [
35+
"react-native",
36+
"ios",
37+
"android"
38+
],
39+
"repository": "https://github.com/dohooo/react-native-reanimated-carousel",
40+
"author": "Doho <[email protected]> (https://github.com/dohooo)",
41+
"license": "MIT",
42+
"bugs": {
43+
"url": "https://github.com/dohooo/react-native-reanimated-carousel/issues"
10544
},
106-
"github": {
107-
"release": true
45+
"homepage": "https://github.com/dohooo/react-native-reanimated-carousel#readme",
46+
"publishConfig": {
47+
"registry": "https://registry.npmjs.org/"
10848
},
109-
"plugins": {
110-
"@release-it/conventional-changelog": {
111-
"preset": "angular"
112-
}
113-
}
114-
},
115-
"react-native-builder-bob": {
116-
"source": "src",
117-
"output": "lib",
118-
"targets": [
119-
"commonjs",
120-
"module",
121-
[
122-
"typescript",
123-
{
124-
"project": "tsconfig.build.json"
49+
"devDependencies": {
50+
"@commitlint/config-conventional": "^11.0.0",
51+
"@react-native-community/eslint-config": "^2.0.0",
52+
"@release-it/conventional-changelog": "^2.0.0",
53+
"@types/jest": "^26.0.0",
54+
"@types/react": "^16.9.19",
55+
"@types/react-native": "0.62.13",
56+
"commitlint": "^11.0.0",
57+
"cz-conventional-changelog": "^3.3.0",
58+
"eslint": "^7.2.0",
59+
"eslint-config-prettier": "^7.0.0",
60+
"eslint-plugin-prettier": "^3.1.3",
61+
"gifify": "^2.4.3",
62+
"husky": "^4.2.5",
63+
"jest": "^26.0.1",
64+
"pod-install": "^0.1.0",
65+
"prettier": "^2.0.5",
66+
"react": "16.13.1",
67+
"react-native": "0.63.4",
68+
"react-native-builder-bob": "^0.18.1",
69+
"react-native-gesture-handler": "^1.10.3",
70+
"react-native-reanimated": "^2.2.0",
71+
"release-it": "^14.2.2",
72+
"typescript": "^4.0.8"
73+
},
74+
"peerDependencies": {
75+
"react": ">=16.8.0",
76+
"react-native": ">=0.6.0",
77+
"react-native-gesture-handler": "*",
78+
"react-native-reanimated": ">=2.0.0"
79+
},
80+
"jest": {
81+
"preset": "react-native",
82+
"modulePathIgnorePatterns": [
83+
"<rootDir>/example/node_modules",
84+
"<rootDir>/lib/"
85+
]
86+
},
87+
"husky": {
88+
"hooks": {
89+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
90+
"pre-commit": "yarn lint && yarn typescript"
91+
}
92+
},
93+
"commitlint": {
94+
"extends": [
95+
"@commitlint/config-conventional"
96+
]
97+
},
98+
"release-it": {
99+
"git": {
100+
"commitMessage": "chore: release ${version}",
101+
"tagName": "v${version}"
102+
},
103+
"npm": {
104+
"publish": true
105+
},
106+
"github": {
107+
"release": true
108+
},
109+
"plugins": {
110+
"@release-it/conventional-changelog": {
111+
"preset": {
112+
"name": "angular",
113+
"types": [
114+
{
115+
"type": "feat",
116+
"section": "Features"
117+
},
118+
{
119+
"type": "fix",
120+
"section": "Bug Fixes"
121+
},
122+
{}
123+
]
124+
},
125+
"infile": "CHANGELOG.md"
126+
}
127+
}
128+
},
129+
"react-native-builder-bob": {
130+
"source": "src",
131+
"output": "lib",
132+
"targets": [
133+
"commonjs",
134+
"module",
135+
[
136+
"typescript",
137+
{
138+
"project": "tsconfig.build.json"
139+
}
140+
]
141+
]
142+
},
143+
"config": {
144+
"commitizen": {
145+
"path": "./node_modules/cz-conventional-changelog"
125146
}
126-
]
127-
]
128-
},
129-
"config": {
130-
"commitizen": {
131-
"path": "./node_modules/cz-conventional-changelog"
132147
}
133-
}
134148
}

0 commit comments

Comments
 (0)