diff options
| author | fncolon <[email protected]> | 2022-01-13 21:00:19 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-13 15:00:19 +0100 |
| commit | 7d6f2d8f4db0870bf3e2778de2f08444aa264ada (patch) | |
| tree | 6d489fa50452154eb91423cf0dd3bdfdb8fd8297 | |
| parent | d9b6e5d584f92da4ca059f2705530e609525265e (diff) | |
| download | faker-7d6f2d8f4db0870bf3e2778de2f08444aa264ada.tar.xz faker-7d6f2d8f4db0870bf3e2778de2f08444aa264ada.zip | |
fix: MSYS Compatible npm scripts (since using devDependencies) (#104)
Co-authored-by: Shinigami <[email protected]>
| -rw-r--r-- | build/gulp-tasks/jsdoc.js | 7 | ||||
| -rw-r--r-- | package.json | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/build/gulp-tasks/jsdoc.js b/build/gulp-tasks/jsdoc.js index defe4cb4..45512952 100644 --- a/build/gulp-tasks/jsdoc.js +++ b/build/gulp-tasks/jsdoc.js @@ -11,7 +11,6 @@ const jsdoc = require('gulp-jsdoc3'); const config = require('../../conf.json'); -module.exports = function jsdoc (cb) { - src(['./README.md', './lib/*.js'], { read: false }) - .pipe(jsdoc(config, cb)); -};
\ No newline at end of file +module.exports = function jsdoc(cb) { + src(['./README.md', './lib/*.js'], { read: false }).pipe(jsdoc(config, cb)); +}; diff --git a/package.json b/package.json index ccbffc45..0019f9f8 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,11 @@ "url": "https://github.com/faker-js/faker.git" }, "scripts": { - "browser": "./node_modules/.bin/gulp browser", - "jsdoc": "./node_modules/.bin/gulp jsdoc", + "browser": "gulp browser", + "jsdoc": "gulp jsdoc", "format": "prettier --write .", "lint": "echo 'TODO eslint'", - "test": "node_modules/.bin/mocha test/*.*.js", + "test": "mocha test/*.*.js", "coverage": "nyc report --reporter=text-lcov | coveralls", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", |
