swagger-editor
v4.2.2dev
npm-run-all --parallel hot-server
lint
eslint --cache --ext '.js,.jsx' src test
test
run-s test:unit-mocha test:unit-jest cy:ci lint-errors
build
run-p --aggregate-output build:core build:bundle build:standalone build:stylesheets build:es:bundle build:es:bundle:core
cy:ci
cross-env CYPRESS_BASE_URL=http://localhost:3001/ start-server-and-test build:serve http://localhost:3001 cy:run:electron
start
npm-run-all --parallel build:serve open-static
watch
webpack --config webpack/core.babel.js --watch --progress
cy:dev
cross-env CYPRESS_BASE_URL=http://localhost:3260/ start-server-and-test cy:start http://localhost:3260 cy:open
analyze
source-map-explorer 'dist/swagger-editor-bundle.js'
cy:open
cypress open
cy:start
webpack serve --port 3260 --host 0.0.0.0 --config webpack/dev.babel.js --inline --hot --progress --content-base test/e2e/static
lint-fix
eslint --cache --ext '.js,.jsx' src test --fix
prestart
npm install
build:core
webpack --config webpack/core.babel.js --color
deps-check
run-s deps-check:license deps-check:size
hot-server
webpack serve --host 0.0.0.0 --config webpack/dev.babel.js --inline --hot --progress --content-base dev-helpers/
build:serve
ws --hostname 0.0.0.0 -p 3001
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 --color
test-in-node
run-s lint-errors test:unit-mocha test:unit-jest
cy:run:chrome
cypress run --browser chrome
test:artifact
jest --config ./config/jest/jest.artifact.config.js
cy:run:firefox
cypress run --browser firefox
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 --color
cy:run:electron
cypress run --browser electron
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 --color
automated-release
release-it -VV --config ./release/.release-it.json
build:stylesheets
webpack --config webpack/stylesheets.babel.js --color
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 --color
test:unit-mocha-watch
npm run test:unit-mocha -- -w
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- Unknown
- released 3/25/2022