How to use the standard/package.json.version function in standard

To help you get started, we’ve selected a few standard examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zooniverse / front-end-monorepo / packages / tools-standard / options.js View on Github external
var stdOpts = require('standard/options.js')
var stdVersion = require('standard/package.json').version

var pkg = require('./package.json')

var opts = Object.assign({}, stdOpts, {
  bugs: pkg.bugs.url,
  cmd: 'zoo-standard',
  eslintConfig: {
    baseConfig: require('standard/eslintrc.json'),
    parser: 'babel-eslint',
    envs: [
      'mocha'
    ],
    extends: [
      "plugin:jsx-a11y/recommended"
    ],
    globals: [

standard

JavaScript Standard Style

MIT
Latest version published 3 months ago

Package Health Score

72 / 100
Full package analysis