Remove Gulp

master
Futago-za Ryuu 5 years ago
parent 1c81df1245
commit 6d4ad48319

@ -46,8 +46,8 @@ see good examples.
When appropriate, add documentation and tests.
Before submitting, make sure your change passes the tests (`gulp test`) and
ESLint checks (`gulp lint`).
Before submitting, make sure your change passes the tests (`yarn test`) and
ESLint checks (`yarn lint`).
[issues]: https://github.com/pegjs/pegjs/issues
[issues-search-bugs]: https://github.com/pegjs/pegjs/issues?q=is%3Aopen+is%3Aissue+label%3ABug

@ -78,7 +78,7 @@
* Use ESLint to enforce code style
* Switch from Jasmine to Mocha & Chai
* Switch from Make to Gulp (`Makefile` -> `gulpfile.js`)
* Removed Makefile (Had switched to Gulp, but removed that as well); Using the _scripts_ field of `package.json` instead
* Rewrote `tools/impact` (a bash script, dependent on external tools) as `test/impact` (a cross-platform Node script)
* Added code coverage ([Istanbul](https://www.npmjs.com/package/nyc) and [coveralls.io](https://coveralls.io/github/pegjs/pegjs))
* Updated spec tests

@ -1,17 +0,0 @@
"use strict";
const { run } = require( "@futagoza/child-process" );
const { series, src, task } = require( "@futagoza/gulpx" );
const del = require( "del" );
// Generate the grammar parser.
task( "build:parser", () =>
run( "node packages/pegjs/bin/peg -c src/pegjs.config.js" )
);
// Delete the generated files.
task( "clean", () =>
del( [ "packages/pegjs/dist", "website/js/*-bundle.js", "examples/*.js" ] )
);

@ -9,9 +9,9 @@
"lint": "eslint .",
"spec": "mocha --recursive",
"benchmark": "benchmark",
"build:parser": "gulp build:parser",
"build:dist": "rollup -c",
"clean": "gulp clean",
"build-parser": "pegjs -c src/pegjs.config.js",
"generate-dist": "rollup -c",
"clean": "rimraf packages/pegjs/dist website/js/*-bundle.js examples/*.js",
"impact": "impact master",
"start": "node server.js",
"test": "eslint . && nyc mocha --recursive",
@ -37,11 +37,9 @@
"rollup-plugin-json": "3.1.0"
},
"devDependencies": {
"@futagoza/child-process": "~1.0.0",
"@futagoza/gulpx": "~1.0.0",
"coveralls": "3.0.2",
"dedent": "0.7.0",
"del": "3.0.0",
"rimraf": "2.6.2",
"eslint": "5",
"eslint-config-futagozaryuu": "5",
"mocha": "5.2.0",

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save