mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
b234edba88
Explained in the README how to use npm to load the dependencies and run tests. Too bad about NODE_PATH... Don't try to find parserTests.txt in assorted places--if it isn't present, fetch from gerrit. You can symlink from core if you're developing on both parsers, and the fetch script will not overwrite. Use __dirname in parserTests.js to allow the script to run independent of current working directory. Change-Id: I4c8b884e91f4fdeae385c7697aff768bdd199dd5
29 lines
629 B
JSON
29 lines
629 B
JSON
{
|
|
"name": "mediawiki-parsoid",
|
|
"description": "Mediawiki parser for the VisualEditor.",
|
|
"version": "0.0.1",
|
|
"dependencies": {
|
|
"events": "0.x.x",
|
|
"jquery": "1.x.x",
|
|
"request": "2.x.x",
|
|
"querystring": "0.x.x",
|
|
"path": "0.x.x",
|
|
"jshashes": "0.x.x",
|
|
"optimist": "0.x.x",
|
|
"assert": "0.x.x",
|
|
"jsdom": "0.x.x",
|
|
"pegjs": "0.x.x"
|
|
},
|
|
"devDependencies": {
|
|
"coffee-script": "1.x.x",
|
|
"colors": "0.x.x",
|
|
"diff": "1.x.x",
|
|
"html5": "0.x.x"
|
|
},
|
|
"main": "mediawiki.parser.js",
|
|
"scripts": {
|
|
"pretest": "node ../../tests/parser/fetch-parserTests.txt.js",
|
|
"test": "node ../../tests/parser/parserTests.js"
|
|
}
|
|
}
|