swagger-editor
v3.15.5dev
npm-run-all --parallel hot-server
e2e
run-p -r e2e:hot-server e2e:cypress-test
lint
eslint --cache --ext '.js,.jsx' src test
test
run-s test:unit-mocha test:unit-jest e2e lint-errors
build
run-p --aggregate-output build:core build:bundle build:standalone build:stylesheets build:es:bundle build:es:bundle:core
start
npm-run-all --parallel serve-static open-static
watch
webpack --config webpack/core.babel.js --watch --progress
predev
npm install
e2e:dev
run-p -r e2e:hot-server e2e:cypress-open
lint-fix
eslint --cache --ext '.js,.jsx' src test --fix
prestart
npm install
build:core
webpack --config webpack/core.babel.js --colors
deps-check
run-s deps-check:license deps-check:size
hot-server
webpack-dev-server --host 0.0.0.0 --config webpack/dev.babel.js --inline --hot --progress --content-base dev-helpers/
lint-errors
eslint --cache --quiet --ext '.js,.jsx' src test
open-static
node -e 'require("open")("http://localhost:3001")'
build:bundle
webpack --config webpack/bundle.babel.js --colors
serve-static
http-server -i -a 0.0.0.0 -p 3001
test-in-node
run-s lint-errors test:unit-mocha test:unit-jest
test:artifact
run-s test:artifact:umd:bundle test:artifact:es:bundle test:artifact:es:bundle:core
e2e:hot-server
webpack-dev-server --port 3260 --host 0.0.0.0 --config webpack/dev.babel.js --inline --hot --progress --content-base test/e2e/static
security-audit
run-s -sc security-audit:all security-audit:prod
test:unit-jest
cross-env BABEL_ENV=test jest --config ./config/jest/jest.unit.config.js
build:es:bundle
webpack --config webpack/es-bundle.babel.js --colors
deps-check:size
webpack -p --config webpack/test_deps_size.babel.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt
test:unit-mocha
cross-env BABEL_ENV=test mocha --require test/mocha/setup.js --recursive --require @babel/register test/mocha
build:standalone
webpack --config webpack/standalone.babel.js --colors
e2e:cypress-open
cypress open
e2e:cypress-test
cypress run
automated-release
release-it --config ./release/.release-it.json
build:stylesheets
webpack --config webpack/stylesheets.babel.js --colors
deps-check: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
security-audit:all
npm-audit-ci-wrapper -t moderate
security-audit:prod
npm-audit-ci-wrapper -p -t low
build:es:bundle:core
webpack --config webpack/es-bundle-core.babel.js --colors
test:unit-mocha-watch
npm run test:unit-mocha -- -w
test:artifact:es:bundle
npm run build:es:bundle && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es-bundle.config.js
test:artifact:umd:bundle
npm run build:bundle && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-umd-bundle.config.js
test:artifact:es:bundle:core
npm run build:es:bundle:core && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es-bundle-core.config.js
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- Unknown
- released 2/4/2021