Have ideas to improve npm?Join in the discussion! »

    chrome-extension-manifest-schema

    0.0.1 • Public • Published

    chrome-extension-manifest-schema

    JSON Schema for validating Chrome extension manifest.json

    This module provides a JSON Schema (v4) that describes Chrome extension manifest.json files. To validate a JSON file against the schema, you will need to use a JSON Schema validator with v4 support.

    Example using the TV4 validator via the grunt-tv4 plugin to validate a "manifest.json" file:

    # Gruntfile.coffee 
     
    module.exports = (grunt) ->
      grunt.initConfig
        tv4:
          manifest:
            src: "manifest.json"
            options:
              root: require('chrome-extension-manifest-schema')
     
      grunt.loadNpmTasks "grunt-tv4"
      grunt.registerTask 'default''tv4'

    Keywords

    none

    Install

    npm i chrome-extension-manifest-schema

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • avatar