Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ZxBing0066 committed Apr 24, 2019
1 parent 2b91da9 commit 5831761
Show file tree
Hide file tree
Showing 18 changed files with 6,391 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": "> 0.25%, not dead"
}
],
"@babel/typescript"
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"corejs": 2,
"helpers": true,
"regenerator": true,
"useESModules": false
}
],
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread",
"lodash"
]
}
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false

[package.json]
indent_size = 2
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
/dist
20 changes: 20 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"extends": ["eslint:recommended"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"no-unused-vars": "warn",
"no-console": "off"
}
}
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build
/lib

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

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

# dev
.vscode
jsconfig.json
Empty file added README.md
Empty file.
43 changes: 43 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "@rapiop/rapiop",
"version": "0.0.1",
"description": "Run all project in one place/project",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "NODE_ENV=development webpack-dev-server",
"build": "NODE_ENV=production webpack",
"build:lib": "babel src/ -d lib/ -x \".js\",\".ts\"",
"publish:patch": "npm version patch && npm publish"
},
"author": "ZxBing0066",
"license": "MIT",
"dependencies": {
"@babel/cli": "^7.4.3",
"@types/history": "^4.7.2",
"@types/lodash": "^4.14.122",
"@types/scriptjs": "^0.0.2",
"axios": "^0.18.0",
"history": "^4.7.2",
"lodash": "^4.17.11",
"scriptjs": "^2.5.9"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/runtime-corejs2": "^7.2.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-lodash": "^3.3.4",
"eslint": "^5.7.0",
"html-webpack-plugin": "^3.2.0",
"typescript": "^3.3.3333",
"webpack": "^4.23.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10"
}
}
Loading

0 comments on commit 5831761

Please sign in to comment.