feat: 增加 uni.createIntersectionObserver 接口
Showing
... | ... | @@ -5,13 +5,13 @@ |
"lint": "eslint --fix --config package.json --ext .js --ext .vue --ignore-path .eslintignore build src", | ||
"dev:h5": "npm run lint && cross-env NODE_ENV=production UNI_WATCH=true UNI_PLATFORM=h5 node build/build.js", | ||
"build:h5": "npm run lint && cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 node build/build.js", | ||
"build:app-plus": "cross-env UNI_PLATFORM=app-plus rollup -c build/rollup.config.js", | ||
"build:service:legacy": "npm run lint && rollup -c build/rollup.config.service.js", | ||
"build:app-plus": "cross-env UNI_PLATFORM=app-plus rollup -c build/rollup.config.js", | ||
"build:service:legacy": "npm run lint && rollup -c build/rollup.config.service.js", | ||
"build:mp-qq": "cross-env UNI_PLATFORM=mp-qq rollup -c build/rollup.config.js", | ||
"build:mp-weixin": "cross-env UNI_PLATFORM=mp-weixin rollup -c build/rollup.config.js", | ||
"build:mp-baidu": "cross-env UNI_PLATFORM=mp-baidu rollup -c build/rollup.config.js", | ||
"build:mp-alipay": "cross-env UNI_PLATFORM=mp-alipay rollup -c build/rollup.config.js", | ||
"build:mp-toutiao": "cross-env UNI_PLATFORM=mp-toutiao rollup -c build/rollup.config.js", | ||
"build:mp-toutiao": "cross-env UNI_PLATFORM=mp-toutiao rollup -c build/rollup.config.js", | ||
"build:runtime": "npm run lint && npm run build:mp-weixin && npm run build:mp-qq && npm run build:mp-alipay && npm run build:mp-baidu && npm run build:mp-toutiao && npm run build:app-plus", | ||
"test:unit": "cross-env NODE_ENV=test UNI_PLATFORM=h5 mocha-webpack --require tests/unit/setup.js --webpack-config build/webpack.config.test.js tests/unit/**/*.spec.js" | ||
}, | ||
... | ... | @@ -38,6 +38,7 @@ |
"eslint-plugin-promise": "^4.0.0", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"eslint-plugin-vue": "^4.7.1", | ||
"intersection-observer": "^0.7.0", | ||
"jsdom": "^13.0.0", | ||
"jsdom-global": "^3.0.2", | ||
"rollup": "^0.67.4", | ||
... | ... |
想要评论请 注册 或 登录