Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 936 Bytes

File metadata and controls

42 lines (30 loc) · 936 Bytes

Contributing to jsonpath-js

Contributions are always welcome!

About this repository

This parser uses Peggy as a parser generator.

Structure

├── dist:        # Build files
├── docs:        # Documents
├── grammar:     # Ppeggy grammar file
├── src:         # Source Codes
└── tests:       # Tests
    ├── RFC9535: # Compatibility Test

Development

  1. Fork it!
  2. Check out submodules for development / testing: git submodule update --init --recursive
  3. Create your feature branch: git checkout -b my-new-feature
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request :D

Running Locally

npm install
npm run test

Building the Parser

If you modify the grammar/jsonpath.pegjs file, please rebuild the parser.

npm run build:parser