node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

arrow-endpoint

arrow-endpoint

npm license github-issues Circle CI build status

API endpoints

nodei.co

travis-status stars forks

forks

Features

Install

npm install --save arrow-endpoint

Scripts

  • npm run build : npm run clean && npm run build:dev && npm run security
  • npm run build:dev : npm run build:lint && npm run test && npm run build:dist
  • npm run build:dist : npm run build:readme && babel -d ./dist ./src
  • npm run build:readme : node-readme
  • npm run build:lint : eslint .
  • npm run clean : rimraf dist/* coverage/*
  • npm run posttest : istanbul check-coverage coverage/coverage.json --line 80 --branch 80 --statement 80
  • npm run release:major : npm version major && npm run release:publish && git push --follow-tags
  • npm run release:minor : npm version minor && npm run release:publish && git push --follow-tags
  • npm run release:patch : npm version patch && npm run release:publish && git push --follow-tags
  • npm run release:prerelease : npm version prerelease && npm run release:publish && git push --follow-tags
  • npm run release:publish : git add -A && git push && git push --tags && npm publish
  • npm run release:npm : curl -X GET http://registry.ecd.axway.int:8081/artifactory/local-npm/$npm_package_name/-/$npm_package_name-$npm_package_version.tgz 2>/dev/null > $npm_package_name-$npm_package_version.tgz && npm publish --registry https://registry.npmjs.org ./$npm_package_name-$npm_package_version.tgz && rm ./$npm_package_name-$npm_package_version.tgz
  • npm run test : rimraf coverage && cross-env NODE_ENV=test babel-node node_modules/babel-istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- -R spec ./test --require babel-polyfill
  • npm run security : echo '[]' > scan-retire.json && echo '[]' > scan-nsp.json
  • npm run security:retire : retire --exitwith 0 --package --outputformat json --outputpath scan-retire.json
  • npm run security:nsp : nsp check --output json > scan-nsp.json

Dependencies

Package Version Dev
axway-schema ^2.0.0
chalk ^2.0.1
json-refs ^3.0.2
parse-json ^3.0.0
swagger-parser ^4.0.0
swagger-tools ^0.10.2
babel-cli ^6.24.1
babel-core ^6.25.0
babel-eslint ^7.2.3
babel-istanbul ^0.12.2
babel-polyfill ^6.13.0
babel-preset-es2015 ^6.24.1
babel-preset-stage-2 ^6.24.1
chai ^3.5.0
chai-as-promised ^6.0.0
cross-env ^5.0.1
eslint 4.3.0
eslint-config-axway 2.0.0-0
eslint-plugin-import 2.7.0
eslint-plugin-jsx-a11y 5.1.1
eslint-plugin-mocha 4.11.0
eslint-plugin-react 7.1.0
istanbul ^0.4.5
mocha ^3.4.2
node-mocks-http ^1.6.4
node-readme ^0.1.9
nsp ^2.7.0
retire ^1.3.3
rimraf ^2.6.1
simple-mock ^0.8.0

Contributing

Contributions welcome; Please submit all pull requests the against master branch. If your pull request contains JavaScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!

Author

Axway support@axway.com https://axway.com

License

  • SEE LICENCE IN LICENCE : null