Skip to content

Commit

Permalink
🔧 Configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahceylan committed Dec 23, 2018
1 parent ccf6077 commit d9aca12
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"presets":[
["react-app", {
"absoluteRuntime": false
}]
]
}
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "extends": "react-app" }
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
53 changes: 53 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"name": "ac-react-simple-image-slider",
"version": "0.0.1",
"description": "A simple image slider built with React, styled-components and hooks",
"author": "abdullahceylan",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/abdullahceylan/ac-react-simple-image-slider.git"
},
"homepage": "https://github.com/abdullahceylan/ac-react-simple-image-slider",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"main": "dist/index.js",
"module": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"start": "react-scripts start",
"build-examples": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"build": "rimraf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,__snapshots__"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-react-app": "^6.1.0",
"lodash": "^4.17.11",
"react": "^16.7.0-alpha.0",
"react-dom": "^16.7.0-alpha.0",
"react-scripts": "^2.1.1",
"rimraf": "^2.6.2",
"styled-components": "^4.1.3",
"styled-tools": "^1.6.0"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"testPathIgnorePatterns": [
"<rootDir>/(coverage|dist|node_modules|tools)/"
]
}
}

0 comments on commit d9aca12

Please sign in to comment.