175 lines
6.4 KiB
JSON
175 lines
6.4 KiB
JSON
{
|
|
"name": "miniprogram-ci",
|
|
"version": "2.0.6",
|
|
"description": "Module that build miniprogram project for web or app extracted from WeChatDevtools.",
|
|
"homepage": "https://developers.weixin.qq.com/community/homepage",
|
|
"main": "dist/index.js",
|
|
"types": "dist/@types/index.d.ts",
|
|
"scripts": {
|
|
"init": "git submodule init && git submodule update",
|
|
"submodule": "git submodule init && git submodule update",
|
|
"dev": "rm -rf dist && gulp copy && tsc -w",
|
|
"devcloud": "rm -rf dist && gulp copy && tsc -p './tsconfigForCloudBuild.json' -w",
|
|
"beta": "npm run init && rm -rf dist && tsc && gulp copy && node ./task/afterbuild.js && npm run test",
|
|
"build": "npm run eslint -- --fix && npm run bb",
|
|
"build-ci": "rm -rf dist && rm -rf ci-src && npm run build && gulp copy-src-to-ci-src && gulp condition-compile-for-ci && rm -rf dist && gulp removeForCi && npm run ci-tsc && gulp build-ci",
|
|
"ci-tsc": "tsc -p './tsconfig_ci.json'",
|
|
"bb": "npm run init && gulp inc-version && tsc && gulp build && node ./task/afterbuild.js ",
|
|
"bbwin": "gulp inc-version && tsc && gulp build && node ./task/afterbuild.js ",
|
|
"test": "nyc --reporter=text npm run mocha && npm run jest",
|
|
"jest": "jest",
|
|
"report": "nyc --reporter=html npm run mocha && npm run jest",
|
|
"mocha": "mocha --reporter mochawesome --exit --timeout 5000 || true",
|
|
"build-json-schema": "node ./schema/task/build.js && gulp copy-schema",
|
|
"eslint": "eslint --ext .ts,.tsx,.js,.jsx ./src",
|
|
"mochawin": "mocha --reporter mochawesome --reporter-options reportFilename=result_win --exit || exit /b 0",
|
|
"mochamac": "mocha --reporter mochawesome --reporter-options reportFilename=result_mac --exit || true",
|
|
"mochalinux": "mocha --reporter mochawesome --reporter-options reportFilename=result_linux --exit || true",
|
|
"webdev": "node --inspect-brk=9221 ./example/webCompile/test.js",
|
|
"web": "node ./example/webCompile/test.js",
|
|
"text-web": "node ./example/webCompile/test.js",
|
|
"copyNodeModules": "gulp copy-miniprogram-builder-node-modules-to-dist-for-buildcloud"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": ""
|
|
},
|
|
"bin": {
|
|
"miniprogram-ci": "./bin/miniprogram-ci.js"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"bin/**/*",
|
|
"CHANGELOG.md",
|
|
"README.md",
|
|
"package.json"
|
|
],
|
|
"author": "Canhuang",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@swc/helpers": "0.5.9",
|
|
"@tencent/eslint-config-extends": "git+https://git.woa.com/devtools/eslint-config-extends.git",
|
|
"@tencent/eslint-config-tencent": "^1.0.4",
|
|
"@tencent/wxa-runtime-browser": "^0.2.0",
|
|
"@types/babel__core": "^7.1.17",
|
|
"@types/babel-code-frame": "^6.20.2",
|
|
"@types/babel-core": "^6.25.6",
|
|
"@types/cssnano": "^4.0.1",
|
|
"@types/estree": "0.0.47",
|
|
"@types/fs-extra": "^8.0.0",
|
|
"@types/glob": "^7.2.0",
|
|
"@types/html-minifier": "^3.5.3",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/less": "^3.0.3",
|
|
"@types/lodash": "^4.14.178",
|
|
"@types/node": "^13.13.52",
|
|
"@types/read-package-tree": "^5.2.0",
|
|
"@types/request": "^2.48.3",
|
|
"@types/rimraf": "^3.0.0",
|
|
"@types/sass": "^1.43.1",
|
|
"@types/terminal-kit": "^1.34.0",
|
|
"@types/uglify-js": "^3.0.4",
|
|
"@types/uuid": "^3.1.0",
|
|
"@types/yargs": "^13.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"dependency-tree": "^10.0.9",
|
|
"eslint": "^7.16.0",
|
|
"eslint-plugin-import": "2.22.1",
|
|
"eslint-plugin-react": "7.22.0",
|
|
"eslint-plugin-unused-imports": "^1.1.1",
|
|
"eslint-plugin-weixin-devtools": "git+https://git.woa.com/devtools/eslint-plugin-weixin-devtools.git#master",
|
|
"gulp": "^4.0.2",
|
|
"gulp-clean": "^0.4.0",
|
|
"gulp-terser": "^1.2.0",
|
|
"jest": "^26.6.3",
|
|
"mocha": "^6.2.2",
|
|
"mochawesome": "^4.1.0",
|
|
"nyc": "^14.1.1",
|
|
"ts-jest": "^26.5.2",
|
|
"typescript": "^4.5.3",
|
|
"typescript-json-schema": "^0.41.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "7.21.4",
|
|
"@babel/generator": "7.21.4",
|
|
"@babel/helper-module-imports": "7.21.4",
|
|
"@babel/helpers": "7.21.0",
|
|
"@babel/parser": "7.21.4",
|
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
"@babel/plugin-proposal-decorators": "7.21.0",
|
|
"@babel/plugin-proposal-do-expressions": "7.18.6",
|
|
"@babel/plugin-proposal-export-default-from": "7.18.10",
|
|
"@babel/plugin-proposal-function-bind": "7.18.9",
|
|
"@babel/plugin-proposal-function-sent": "7.18.6",
|
|
"@babel/plugin-proposal-pipeline-operator": "7.18.9",
|
|
"@babel/plugin-proposal-private-methods": "7.18.6",
|
|
"@babel/plugin-proposal-private-property-in-object": "7.21.0",
|
|
"@babel/plugin-proposal-throw-expressions": "7.18.6",
|
|
"@babel/plugin-transform-modules-commonjs": "7.21.2",
|
|
"@babel/plugin-transform-runtime": "7.21.4",
|
|
"@babel/plugin-transform-typescript": "7.21.3",
|
|
"@babel/preset-env": "7.21.4",
|
|
"@babel/runtime": "7.21.0",
|
|
"@babel/template": "7.20.7",
|
|
"@babel/traverse": "7.21.4",
|
|
"@swc/core": "1.4.14",
|
|
"@vue/reactivity": "3.0.5",
|
|
"acorn": "^6.1.1",
|
|
"adm-zip": "^0.5.10",
|
|
"archiver": "^5.3.1",
|
|
"autoprefixer": "^10.4.0",
|
|
"babel-code-frame": "6.26.0",
|
|
"babel-core": "6.26.0",
|
|
"babel-preset-es2015": "6.24.1",
|
|
"babel-preset-stage-0": "6.24.1",
|
|
"chalk": "^4.1.2",
|
|
"chokidar": "^3.5.1",
|
|
"commander": "^9.3.0",
|
|
"cos-nodejs-sdk-v5": "^2.11.4",
|
|
"cssnano": "^5.0.12",
|
|
"download": "^8.0.0",
|
|
"eventemitter3": "^4.0.5",
|
|
"execa": "^5.1.1",
|
|
"fs-extra": "8.1.0",
|
|
"get-proxy": "^2.1.0",
|
|
"glob": "7.1.2",
|
|
"html-minifier": "4.0.0",
|
|
"image-size": "^1.0.2",
|
|
"jimp": "^0.9.3",
|
|
"js-base64": "^3.7.2",
|
|
"jsonschema": "^1.2.5",
|
|
"jszip": "^3.4.0",
|
|
"less": "^4.1.2",
|
|
"licia": "^1.31.1",
|
|
"lodash": "^4.17.15",
|
|
"memory-fs": "^0.5.0",
|
|
"minimatch": "3.0.4",
|
|
"moment-timezone": "^0.5.34",
|
|
"ora": "^6.1.0",
|
|
"postcss": "^8.4.4",
|
|
"protobufjs": "^6.11.3",
|
|
"qrcode-reader": "^1.0.4",
|
|
"qrcode-terminal": "^0.12.0",
|
|
"querystring": "^0.2.1",
|
|
"read-package-tree": "5.2.1",
|
|
"request": "^2.81.2",
|
|
"rimraf": "^3.0.2",
|
|
"sass": "^1.44.0",
|
|
"simple-plist": "^1.3.1",
|
|
"source-map": "0.6.1",
|
|
"string-hash-64": "1.0.3",
|
|
"terminal-kit": "^2.4.0",
|
|
"terser": "4.8.0",
|
|
"tslib": "^2.4.0",
|
|
"uglify-js": "3.0.27",
|
|
"uuid": "^3.1.0",
|
|
"wxml-minifier": "0.0.1",
|
|
"yargs": "^15.0.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.1.0"
|
|
}
|
|
} |