feat: 上传bat版本
parents
Showing
.gitignore
0 → 100644
.npmignore
0 → 100644
.npmrc
0 → 100644
CHANGELOG.md
0 → 100644
LICENSE
0 → 100644
README.md
0 → 100644
babel.config.js
0 → 100644
fixtures/class-functions.js
0 → 100644
fixtures/config/file1.js
0 → 100644
fixtures/config/file2.js
0 → 100644
fixtures/config/nyc-alt.config.js
0 → 100644
fixtures/config/nyc.config.js
0 → 100644
fixtures/config/package.json
0 → 100644
fixtures/has-inline-source-map.js
0 → 100644
fixtures/issue-201.js
0 → 100644
fixtures/issue-78.js
0 → 100644
fixtures/node_modules/should-cover.js
0 → 100644
fixtures/node_modules/should-not-cover.js
0 → 100644
fixtures/plugin-should-cover.js
0 → 100644
fixtures/plugin-should-not-cover.js
0 → 100644
fixtures/should-cover.js
0 → 100644
fixtures/should-not-cover.js
0 → 100644
fixtures/should-respect-cwd.js
0 → 100644
package.json
0 → 100644
{ | ||
"name": "babel-plugin-ry-istanbul", | ||
"version": "0.0.1-bat", | ||
"author": "Thai Pangsakulyanont @dtinth", | ||
"license": "BSD-3-Clause", | ||
"description": "A babel plugin that adds istanbul instrumentation to ES6 code", | ||
"main": "lib/index.js", | ||
"files": [ | ||
"lib" | ||
], | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.0.0", | ||
"@babel/parser": "^7.14.7", | ||
"@istanbuljs/load-nyc-config": "^1.0.0", | ||
"@istanbuljs/schema": "^0.1.2", | ||
"babel-generator": "^6.18.0", | ||
"babel-template": "^6.26.0", | ||
"babel-traverse": "^6.18.0", | ||
"babel-types": "^6.18.0", | ||
"babylon": "^6.13.0", | ||
"cross-env": "^7.0.3", | ||
"istanbul-lib-coverage": "^1.0.0", | ||
"onchange": "^7.1.0", | ||
"parse-diff": "^0.9.0", | ||
"ry-istanbul-web": "^0.0.1", | ||
"semver": "^6.3.0", | ||
"test-exclude": "^6.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.7.5", | ||
"@babel/core": "^7.7.5", | ||
"@babel/plugin-proposal-optional-chaining": "^7.16.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.7.5", | ||
"@babel/register": "^7.7.4", | ||
"chai": "^4.2.0", | ||
"coveralls": "^3.0.9", | ||
"cross-env": "^6.0.3", | ||
"gaze": "^1.1.3", | ||
"mocha": "^6.2.2", | ||
"nyc": "^15.0.0", | ||
"pmock": "^0.2.3", | ||
"standard": "^14.3.1", | ||
"pass-diff": "^0.9.0", | ||
"babel-cli": "^6.3.17", | ||
"babel-plugin-istanbul": "^2.0.3", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-register": "^6.16.3", | ||
"clone": "^2.0.0", | ||
"documentation": "^4.0.0-beta9", | ||
"js-yaml": "^3.3.1", | ||
"jshint": "^2.8.0", | ||
"nopt": "^3.0.6", | ||
"standard-version": "^3.0.0" | ||
}, | ||
"scripts": { | ||
"coverage": "nyc report --reporter=text-lcov | coveralls", | ||
"release": "babel src --out-dir lib", | ||
"pretest": "standard && npm run release", | ||
"test": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --timeout 5000 test/*.js", | ||
"prepublish": "npm test && npm run release", | ||
"build:watch": "onchange ./src -- npm run release" | ||
}, | ||
"standard": { | ||
"ignore": [ | ||
"fixtures/*.js" | ||
] | ||
}, | ||
"keywords": [ | ||
"istanbul", | ||
"babel", | ||
"plugin", | ||
"instrumentation" | ||
], | ||
"nyc": { | ||
"include": [ | ||
"src/*.js", | ||
"fixtures/should-cover.js" | ||
], | ||
"require": [ | ||
"@babel/register" | ||
], | ||
"sourceMap": false, | ||
"instrument": false | ||
}, | ||
"engines": { | ||
"node": ">=8" | ||
} | ||
} |
src/index.js
0 → 100644
src/istanlibment/constants.js
0 → 100644
src/istanlibment/index.js
0 → 100644
src/istanlibment/instrumenter.js
0 → 100644
src/istanlibment/read-coverage.js
0 → 100644
src/istanlibment/source-coverage.js
0 → 100644
src/istanlibment/visitor.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/load-nyc-config-sync.js
0 → 100644
test/babel-plugin-istanbul.js
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment