Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Commit

Permalink
1.0.10 (#1)
Browse files Browse the repository at this point in the history
Added IdeaSource background.
README.md updated
  • Loading branch information
OrangeLoops authored Jul 22, 2019
1 parent 62d1fcb commit 0442e6f
Show file tree
Hide file tree
Showing 164 changed files with 15,012 additions and 2 deletions.
59 changes: 59 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
"use strict";

module.exports = function(api) {
api.cache.using(() => process.env.NODE_ENV);

const presets = [
[
"@babel/env",
{
modules: api.env("test") ? undefined : false,
useBuiltIns: "entry",
corejs: {
version: 3,
},
debug: false,
},
],
"@babel/typescript",
"@babel/react",
];

const plugins = [
"@babel/plugin-transform-runtime",
[
"@babel/plugin-proposal-decorators",
{
legacy: true,
},
],
[
"@babel/plugin-proposal-class-properties",
{
loose: true,
},
],
[
"import",
{
libraryName: "antd",
libraryDirectory: api.env("test") ? undefined : "es",
style: true,
},
],
"@babel/plugin-proposal-optional-catch-binding",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-syntax-dynamic-import",
"lodash",
];

return {
presets: presets,
plugins: plugins,
env: {
test: {
presets: presets,
},
},
};
};
7 changes: 7 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
> 1%
last 2 versions
safari >= 6
not ie > 0
not ie_mob > 0
not edge <= 15
not op_mini all
20 changes: 20 additions & 0 deletions .bundlesizerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"files": [
{
"path": "./build/**/*.{js,ttf}",
"maxSize": "300 kB"
},
{
"path": "./build/**/*.{png,svg,jpg,jpeg}",
"maxSize": "250 kB"
},
{
"path": "./build/**/*.{css,scss}",
"maxSize": "50 kB"
},
{
"path": "./build/**/*.html",
"maxSize": "50 kB"
}
]
}
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = false
indent_style = space
indent_size = 2
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
BUNDLE_NAME=IdeaSource
BROWSERSLIST_CONFIG=.browserslistrc
PORT=5000
2 changes: 2 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
GENERATE_SOURCEMAP=true
REACT_APP_SERVER_BASE_URI=https://ideasource-staging.appspot.com/graphql
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GENERATE_SOURCEMAP=false
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build/*
.storybook_build/*
node_modules/*
typings/*
33 changes: 33 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
extends: ["plugin:@typescript-eslint/recommended", "prettier/@typescript-eslint", "plugin:prettier/recommended"], // "plugin:jsx-a11y/recommended", "plugin:jest/recommended"
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2018,
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
rules: {
"prettier/prettier": "warn",

"@typescript-eslint/ban-types": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-object-literal-type-assertion": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-interface": "off",
},
settings: {
react: {
version: "detect",
},
},
};
43 changes: 43 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/.temp/
/coverage

# production
/.storybook_build/
/build/

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

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# webstorm
/.idea/
/.idea/httpRequests
/.idea/inspectionProfiles/profiles_settings.xml
/.idea/usage.statistics.xml
/.idea/workspace.xml

# others
.cache
.Spotlight-V100
.Trashes
Thumbs.db
Desktop.ini
package-lock.json
/src/**/*.d.ts

/.server/cloud_sql_proxy
/.server/*-client-key.json
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/services"]
path = src/services
url = https://github.com/orangeloops/phoenix-shared.git
Loading

0 comments on commit 0442e6f

Please sign in to comment.