project.config.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
  3. "miniprogramRoot": "miniprogram/",
  4. "compileType": "miniprogram",
  5. "setting": {
  6. "urlCheck": true,
  7. "es6": true,
  8. "enhance": true,
  9. "postcss": true,
  10. "preloadBackgroundData": false,
  11. "minified": true,
  12. "newFeature": false,
  13. "coverView": true,
  14. "nodeModules": true,
  15. "autoAudits": false,
  16. "showShadowRootInWxmlPanel": true,
  17. "scopeDataCheck": false,
  18. "uglifyFileName": true,
  19. "checkInvalidKey": true,
  20. "checkSiteMap": true,
  21. "uploadWithSourceMap": true,
  22. "compileHotReLoad": true,
  23. "lazyloadPlaceholderEnable": false,
  24. "useMultiFrameRuntime": true,
  25. "babelSetting": {
  26. "ignore": [],
  27. "disablePlugins": [],
  28. "outputPath": ""
  29. },
  30. "enableEngineNative": false,
  31. "useIsolateContext": true,
  32. "userConfirmedBundleSwitch": false,
  33. "packNpmManually": false,
  34. "packNpmRelationList": [],
  35. "minifyWXSS": true,
  36. "disableUseStrict": false,
  37. "showES6CompileOption": false,
  38. "useCompilerPlugins": [
  39. "typescript",
  40. "sass"
  41. ],
  42. "minifyWXML": true,
  43. "useStaticServer": true,
  44. "condition": true,
  45. "ignoreUploadUnusedFiles": true
  46. },
  47. "simulatorType": "wechat",
  48. "simulatorPluginLibVersion": {},
  49. "condition": {},
  50. "srcMiniprogramRoot": "miniprogram/",
  51. "editorSetting": {
  52. "tabIndent": "tab",
  53. "tabSize": 2
  54. },
  55. "appid": "wx5ae6908ae55edcb7",
  56. "packOptions": {
  57. "ignore": [],
  58. "include": []
  59. },
  60. "scripts": {
  61. "beforeCompile": "npm run tsc",
  62. "beforePreview": "npm run tsc",
  63. "beforeUpload": "npm run tsc"
  64. }
  65. }