Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasonkarns/chrome-extension-manifest-schema
JSON Schema for validating Chrome extension manifest.json
https://github.com/jasonkarns/chrome-extension-manifest-schema
Last synced: 11 days ago
JSON representation
JSON Schema for validating Chrome extension manifest.json
- Host: GitHub
- URL: https://github.com/jasonkarns/chrome-extension-manifest-schema
- Owner: jasonkarns
- License: mit
- Created: 2013-11-15T03:42:46.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-15T16:35:59.000Z (almost 11 years ago)
- Last Synced: 2024-10-11T07:13:57.099Z (28 days ago)
- Language: CoffeeScript
- Size: 188 KB
- Stars: 6
- Watchers: 5
- Forks: 4
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chrome-extension-manifest-schema
JSON Schema for validating Chrome extension manifest.json
This module provides a [JSON Schema](http://json-schema.org) (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](http://json-schema.org/implementations.html#validator-list) with v4
support.Example using the [TV4 validator](http://geraintluff.github.io/tv4/) via the
[grunt-tv4 plugin](https://github.com/Bartvds/grunt-tv4) to validate a
"manifest.json" file:```coffeescript
# Gruntfile.coffeemodule.exports = (grunt) ->
grunt.initConfig
tv4:
manifest:
src: "manifest.json"
options:
root: require('chrome-extension-manifest-schema')grunt.loadNpmTasks "grunt-tv4"
grunt.registerTask 'default', 'tv4'
```