-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Convert to module to make it easier to build/test/validate/im…
…port." This reverts commit b3c325e.
- Loading branch information
Showing
6 changed files
with
14 additions
and
44 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
config/jest/jest.unit.coverage.config.cjs → config/jest/jest.unit.coverage.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
"main": "lib/commonjs.js", | ||
"module": "es/index.js", | ||
"jsnext:main": "es/index.js", | ||
"type": "module", | ||
"unpkg": "dist/openapi-resolver.browser.min.js", | ||
"repository": "[email protected]:Authress-Engineering/openapi-resolver.js.git", | ||
"contributors": [ | ||
|
@@ -27,11 +26,11 @@ | |
"scripts": { | ||
"prepublishOnly": "npm run clean && npm run lint && npm run test && npm run build", | ||
"build": "run-s build:umd:browser build:commonjs build:es", | ||
"build:umd:browser": "cross-env BABEL_ENV=browser webpack --progress --config config/webpack/browser.config.babel.cjs", | ||
"build:umd:browser": "cross-env BABEL_ENV=browser webpack --progress --config config/webpack/browser.config.babel.js", | ||
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib", | ||
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es", | ||
"lint": "eslint src/ test/", | ||
"test": "cross-env BABEL_ENV=commonjs jest --runInBand --config ./config/jest/jest.unit.coverage.config.cjs", | ||
"test": "cross-env BABEL_ENV=commonjs jest --runInBand --config ./config/jest/jest.unit.coverage.config.js", | ||
"test:unit": "cross-env BABEL_ENV=commonjs jest --runInBand --config ./config/jest/jest.unit.config.js", | ||
"test:unit:watch": "cross-env BABEL_ENV=commonjs jest --runInBand --watch --config ./config/jest/jest.unit.config.js", | ||
"deps:license": "license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv", | ||
|
@@ -80,7 +79,6 @@ | |
"lodash": "^4.17.21", | ||
"lodash-webpack-plugin": "=0.11.6", | ||
"node-fetch": "^3.3.0", | ||
"nodemon": "^3.0.3", | ||
"npm-run-all": "^4.1.5", | ||
"path-browserify": "^1.0.1", | ||
"prettier": "^2.3.0", | ||
|