Skip to content

Commit

Permalink
Merge pull request #13 from jeswr/fix/browser
Browse files Browse the repository at this point in the history
fix: make build work for browser environments
  • Loading branch information
jeswr authored Dec 12, 2022
2 parents 01126da + 1d6fd78 commit 2fe537c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"shex"
],
"scripts": {
"build": "jison lib/shaclc.jison -p slr -o lib/ShaclcParser.js",
"build": "jison lib/shaclc.jison -p slr -m js -o lib/ShaclcParser.js && echo '\n\nmodule.exports=ShaclcParser' >> lib/ShaclcParser.js",
"test": "node test/Conformance-test.js",
"prepublishOnly": "npm run build",
"spec-base-query": "rdf-test-suite spec/parser.js http://w3c.github.io/rdf-tests/sparql11/data-sparql11/manifest-all.ttl -s http://www.w3.org/TR/sparql11-query/ -c .rdf-test-suite-cache/",
Expand Down

0 comments on commit 2fe537c

Please sign in to comment.