Skip to content

Commit

Permalink
Merge pull request #13 from kdn0325/chore/action-CI
Browse files Browse the repository at this point in the history
Chore/action ci
  • Loading branch information
kdn0325 authored Mar 11, 2024
2 parents 8cfd760 + 127f542 commit 93fb8a2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ node_modules/
npm-debug.log
.idea/
*.lock

# generated by bob
lib/
4 changes: 3 additions & 1 deletion examples/Basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"dependencies": {
"@react-native-community/slider": "^2.0.8",
"react": "16.9.0",
"react-native": "0.61.5"
"react-native": "0.61.5",
"react-native-linear-gradient": "^2.8.3"

},
"devDependencies": {
"@babel/core": "7.8.4",
Expand Down
30 changes: 27 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "MultiSlider.js",
"types": "index.d.ts",
"scripts": {
"prettier": "prettier --write \"**/*.js\""
"prettier": "prettier --write \"**/*.js\"",
"prepare": "bob build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -44,7 +45,8 @@
"devDependencies": {
"husky": "^1.1.2",
"lint-staged": "^7.3.0",
"prettier": "^1.14.3"
"prettier": "^1.14.3",
"react-native-builder-bob": "^0.23.2"
},
"bugs": {
"url": "https://github.com/kdn0325/react-native-gradient-multi-slider/issues"
Expand All @@ -56,5 +58,27 @@
"directories": {
"doc": "docs",
"example": "examples"
}
},
"react-native": "src/index.js",
"source": "src/index.js",
"module": "lib/module/index.js",
"files": [
"src",
"lib",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module"
]
},
"eslintIgnore": [
"node_modules/",
"lib/"
]
}

0 comments on commit 93fb8a2

Please sign in to comment.