Cleanup package.json and CONTRIBUTING.md.

The master branch has been in flux for a pretty long time, so leaving
the broken npm scripts and messages in CONTRIBUTING.md doesn't make
sense and has been confusing to contributors. This commit removes broken
npm scripts and removes all unnecessary dependencies for now.
This commit is contained in:
Benjamin Tan
2020-12-21 21:49:59 +08:00
parent 2f900b62fe
commit bcd0610069
3 changed files with 654 additions and 5506 deletions

View File

@@ -25,15 +25,13 @@ Before submitting a request, please search for similar ones in the
## Pull Requests
For additions or bug fixes you should only need to modify `lodash.js`. Include
updated unit tests in the `test` directory as part of your pull request. Dont
worry about regenerating the `dist/` or `doc/` files.
For additions or bug fixes, please modify the relevant files. Include
updated unit tests in the `test` directory as part of your pull request.
Unit test files should be named `[filename].test.js`.
Before running the unit tests youll need to install, `npm i`,
[development dependencies](https://docs.npmjs.com/files/package.json#devdependencies).
Run unit tests from the command-line via `npm test`, or open `test/index.html` &
`test/fp.html` in a web browser. The [Backbone](http://backbonejs.org/) &
[Underscore](http://underscorejs.org/) test suites are included as well.
Run unit tests from the command-line via `npm test`.
## Contributor License Agreement

6096
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,59 +9,15 @@
},
"sideEffects": false,
"scripts": {
"build": "npm run build:main && npm run build:fp",
"build:fp": "node lib/fp/build-dist.js",
"build:fp-modules": "node lib/fp/build-modules.js",
"build:main": "node lib/main/build-dist.js",
"build:main-modules": "node lib/main/build-modules.js",
"doc": "node lib/main/build-doc github && npm run test:doc",
"doc:fp": "node lib/fp/build-doc",
"doc:site": "node lib/main/build-doc site",
"doc:sitehtml": "optional-dev-dependency marky-markdown@^9.0.1 && npm run doc:site && node lib/main/build-site",
"pretest": "npm run build",
"style": "eslint *.js .internal/**/*.js",
"test": "npm run test:main && npm run test:fp",
"test:doc": "markdown-doctest doc/*.md",
"test:fp": "node test/test-fp",
"test:wip": "mocha -r esm test/*.test.js",
"test:main": "node test/test",
"test": "mocha -r esm test/*.test.js",
"validate": "npm run style && npm run test"
},
"devDependencies": {
"async": "^2.1.4",
"benchmark": "^2.1.3",
"chalk": "^1.1.3",
"cheerio": "^0.22.0",
"codecov.io": "~0.1.6",
"coveralls": "^2.11.15",
"curl-amd": "~0.8.12",
"docdown": "~0.7.2",
"dojo": "^1.12.1",
"ecstatic": "^2.2.2",
"eslint": "^6.2.0",
"eslint-plugin-import": "^2.18.2",
"esm": "^3.1.3",
"fs-extra": "~1.0.0",
"glob": "^7.1.1",
"istanbul": "0.4.5",
"jquery": "^3.4.1",
"lodash": "4.17.11",
"lodash-doc-globals": "^0.1.1",
"markdown-doctest": "^0.9.1",
"mocha": "^5.2.0",
"optional-dev-dependency": "^2.0.0",
"platform": "^1.3.3",
"qunit-extras": "^3.0.0",
"qunitjs": "^2.1.0",
"request": "^2.79.0",
"requirejs": "^2.3.2",
"sauce-tunnel": "^2.5.0",
"uglify-js": "2.7.5",
"webpack": "^1.14.0"
},
"greenkeeper": {
"ignore": [
"lodash"
]
"eslint": "^7.16.0",
"eslint-plugin-import": "^2.22.1",
"lodash": "4.17.20",
"esm": "^3.2.25"
}
}