Skip to content
This repository was archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
trangcongthanh committed Jul 4, 2018
0 parents commit 63a050b
Show file tree
Hide file tree
Showing 7 changed files with 3,669 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"presets": ["latest", "react", "stage-1"],
"plugins": ["styled-components"],
"env": {
"production": {
"presets": ["minify"]
}
}
}
32 changes: 32 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"extends": ["eslint:recommended", "react-app", "prettier"],
"plugins": ["prettier"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true
},
"globals": {
"__DEV__": false,
"__TEST__": false,
"__PROD__": false,
"__COVERAGE__": false
},
"rules": {
"semi": ["error", "never"],
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"no-console": ["warn", { "allow": ["warn", "error", "info"] }],
"max-len": ["warn", 120, 2],
"no-shadow": ["error", { "builtinGlobals": false, "hoist": "functions", "allow": ["_"] }],
"comma-dangle": ["error", "always-multiline"],
"no-plusplus": "warn",
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }],
"jsx-a11y/href-no-hash": "off"
}
}
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/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build
/dist

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

npm-debug.log*
yarn-debug.log*
yarn-error.log*
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.babelrc
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Grid and Flex all in One
36 changes: 36 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "styled-one",
"version": "0.0.1",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"start": "babel -w -d dist src",
"clean": "rimraf dist/**",
"build": "yarn clean && BABEL_ENV=production babel -d dist src"
},
"dependencies": {
"react": "^16.4.1",
"styled-components": "^3.3.3"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.5",
"babel-minify": "^0.4.3",
"babel-plugin-styled-components": "^1.5.1",
"babel-preset-latest": "^6.24.1",
"babel-preset-minify": "^0.4.3",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"eslint": "^5.0.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-react-app": "^2.1.0",
"eslint-plugin-flowtype": "^2.49.3",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "5.1.1",
"eslint-plugin-prettier": "^2.6.1",
"eslint-plugin-react": "^7.10.0",
"prettier": "^1.13.7",
"rimraf": "^2.6.2"
}
}
Loading

0 comments on commit 63a050b

Please sign in to comment.