Jelajahi Sumber

:bug: 补全丢失的前端工程构建配置文件;忽略chaoben的编译;

xiebing 2 tahun lalu
induk
melakukan
34216f9fac
6 mengubah file dengan 9217 tambahan dan 1 penghapusan
  1. 7 0
      .babelrc
  2. 13 0
      .eslintignore
  3. 16 0
      .eslintrc.js
  4. 267 0
      .gitignore
  5. 1 1
      gulpfile.js
  6. 8913 0
      package-lock.json

+ 7 - 0
.babelrc

@@ -0,0 +1,7 @@
+{
+  "presets": [
+    [
+      "@babel/preset-env"
+    ]
+  ]
+}

+ 13 - 0
.eslintignore

@@ -0,0 +1,13 @@
+node_modules/
+**/*.spec.*
+es/
+lib/
+_site/
+dist/
+dist_dev/
+*.md
+*.min.*
+*.py
+*.ini
+*.csv
+*.exe

+ 16 - 0
.eslintrc.js

@@ -0,0 +1,16 @@
+module.exports = {
+  root: true,
+  env: {
+    browser: true,
+    es6: true,
+    node: true,
+  },
+  extends: ['plugin:prettier/recommended'],
+  globals: {},
+  parserOptions: {
+    parser: 'babel-eslint',
+  },
+  rules: {
+    'prettier/prettier': 'error',
+  },
+}

+ 267 - 0
.gitignore

@@ -0,0 +1,267 @@
+created by https://www.gitignore.io/api/svn,python,eclipse,pycharm
+.env.dev_zbd
+.env
+.env.testing
+.env.production
+
+*.pickle
+
+chromedriver.*
+/configs/development_zjl.py
+.DS_Store
+uploaded/
+.vscode/
+.testcase/
+### Eclipse ###
+
+.metadata
+bin/
+tmp/
+*.tmp
+*.bak
+*.swp
+*~.nib
+local.properties
+.settings/
+.loadpath
+.recommenders
+
+# External tool builders
+.externalToolBuilders/
+
+# Locally stored "Eclipse launch configurations"
+*.launch
+
+# PyDev specific (Python IDE for Eclipse)
+*.pydevproject
+
+# CDT-specific (C/C++ Development Tooling)
+.cproject
+
+# Java annotation processor (APT)
+.factorypath
+
+# PDT-specific (PHP Development Tools)
+.buildpath
+
+# sbteclipse plugin
+.target
+
+# Tern plugin
+.tern-project
+
+# TeXlipse plugin
+.texlipse
+
+# STS (Spring Tool Suite)
+.springBeans
+
+# Code Recommenders
+.recommenders/
+
+# Scala IDE specific (Scala & Java development for Eclipse)
+.cache-main
+.scala_dependencies
+.worksheet
+
+### Eclipse Patch ###
+# Eclipse Core
+.project
+
+# JDT-specific (Eclipse Java Development Tools)
+.classpath
+
+### PyCharm ###
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
+
+# Disable all configs about .idea
+
+.idea
+
+# User-specific stuff:
+#.idea/**/workspace.xml
+#.idea/**/tasks.xml
+#.idea/dictionaries
+
+# Sensitive or high-churn files:
+#.idea/**/dataSources/
+#.idea/**/dataSources.xml
+#.idea/**/dataSources.local.xml
+#.idea/**/sqlDataSources.xml
+#.idea/**/dynamic.xml
+#.idea/**/uiDesigner.xml
+
+# Gradle:
+#.idea/**/gradle.xml
+#.idea/**/libraries
+
+# CMake
+cmake-build-debug/
+
+# Mongo Explorer plugin:
+#.idea/**/mongoSettings.xml
+
+## File-based project format:
+*.iws
+
+## Plugin-specific files:
+
+# IntelliJ
+/out/
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Cursive Clojure plugin
+.idea/*
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+fabric.properties
+
+### PyCharm Patch ###
+# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
+
+# *.iml
+# modules.xml
+# .idea/misc.xml
+# *.ipr
+
+# Sonarlint plugin
+.idea/sonarlint
+
+### Python ###
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+celerybeat.pid
+
+# Distribution / packaging
+.Python
+/build/
+develop-eggs/
+dist/
+dist_dev/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+wheels/
+*.egg-info/
+.installed.cfg
+*.egg
+
+# PyInstaller
+#  Usually these files are written by a python script from a template
+#  before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*.cover
+.hypothesis/
+
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+*.log
+local_settings.py
+
+# other log
+*.log.*
+
+# Flask stuff:
+instance/
+.webassets-cache
+
+# Scrapy stuff:
+.scrapy
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+target/
+
+# Jupyter Notebook
+.ipynb_checkpoints
+
+# pyenv
+.python-version
+
+# celery beat schedule file
+celerybeat-schedule
+
+# SageMath parsed files
+*.sage.py
+
+# Environments
+.env
+.env.*
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
+
+
+# Spyder project settings
+.spyderproject
+.spyproject
+
+# Rope project settings
+.ropeproject
+
+# mkdocs documentation
+/site
+
+# mypy
+.mypy_cache/
+
+### SVN ###
+.svn/
+
+node_modules
+
+.access_token*
+.jsapi_ticket*
+
+# End of https://www.gitignore.io/api/svn,python,eclipse,pycharm
+
+.access_token_*
+.jsapi_ticket_*
+
+.pytest_cache/
+
+latest-pytest-report.html
+/configs/dev_zz.py
+/testTools/

+ 1 - 1
gulpfile.js

@@ -858,7 +858,7 @@ module.exports.all = gulpSequence(
   ['copy-dealer'], //复制经销商、代理商、测试系统文件
   ['copy-dealer'], //复制经销商、代理商、测试系统文件
   ['copy-enduser'], //复制终端用户文件
   ['copy-enduser'], //复制终端用户文件
   ['copy-help'], //copy help
   ['copy-help'], //copy help
-  ['chaoben'], //copy chaoben
+  // ['chaoben'], //copy chaoben
 
 
   // 后台管理系统、广告系统
   // 后台管理系统、广告系统
   ['manageRevCss'],
   ['manageRevCss'],

File diff ditekan karena terlalu besar
+ 8913 - 0
package-lock.json