chrome-extension-manifest-schema
v0.0.1
Published
JSON Schema for validating Chrome extension manifest.json
Downloads
9
Readme
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'