Skip to content

Commit

Permalink
- Updated package.json to support NodeJS modules
Browse files Browse the repository at this point in the history
- Moved gulpfile in its own folder to work around Node modules oddities
- Updated dependencies
  • Loading branch information
ascartabelli committed Jul 2, 2020
1 parent 1502705 commit e0598e1
Show file tree
Hide file tree
Showing 13 changed files with 4,701 additions and 3,109 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ script:
- gulp travis
node_js:
- "stable"
- "13"
- "12"
- "11"
- "10"
- "9"
- "8"
after_script:
- npm run coveralls
346 changes: 346 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lamb.esm.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @overview lamb - A lightweight, and docile, JavaScript library to help embracing functional programming.
* @author Andrea Scartabelli <andrea.scartabelli@gmail.com>
* @version 0.59.0-alpha.6
* @version 0.59.0-alpha.10
* @module lamb
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/lamb.esm.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lamb.esm.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lamb.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @overview lamb - A lightweight, and docile, JavaScript library to help embracing functional programming.
* @author Andrea Scartabelli <andrea.scartabelli@gmail.com>
* @version 0.59.0-alpha.6
* @version 0.59.0-alpha.10
* @module lamb
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/lamb.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lamb.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions gulpfile.js → gulpfile.js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

const gulp = require("gulp");
const eslint = require("gulp-eslint");
const jest = require("gulp-jest").default;
const jest = require("gulp-jest-acierto").default;
const rename = require("gulp-rename");
const rollup = require("rollup");
const sourcemaps = require("gulp-sourcemaps");
const terser = require("gulp-terser");

const jestBaseConfig = require("./jest.config");
const pkg = require("./package.json");
const jestBaseConfig = require("../jest.config.cjs");
const pkg = require("../package.json");

const intro = [
"/**",
Expand Down
4 changes: 4 additions & 0 deletions gulpfile.js/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "lamb-gulp-tasks",
"private": true
}
File renamed without changes.
7,408 changes: 4,320 additions & 3,088 deletions package-lock.json

Large diffs are not rendered by default.

30 changes: 20 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,25 @@
"javascript"
],
"license": "MIT",
"main": "dist/lamb.js",
"module": "dist/lamb.esm.js",
"main": "./dist/lamb.js",
"module": "./dist/lamb.esm.js",
"exports": {
"require": "./dist/lamb.js",
"import": "./dist/lamb.esm.js",
"default": "./dist/lamb.js"
},
"type": "module",
"name": "lamb",
"repository": {
"type": "git",
"url": "https://github.com/ascartabelli/lamb.git"
},
"scripts": {
"build": "gulp build",
"coverage": "gulp test:coverage",
"lint": "gulp lint",
"test": "gulp test",
"travis": "gulp travis",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"babel": {
Expand All @@ -54,20 +64,20 @@
"unpkg": "dist/lamb.min.js",
"sideEffects": false,
"tonicExample": "var _ = require('lamb');",
"version": "0.59.0-alpha.6",
"version": "0.59.0-alpha.10",
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"coveralls": "^3.0.9",
"eslint-plugin-jsdoc": "^21.0.0",
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"coveralls": "^3.1.0",
"eslint-plugin-jsdoc": "^28.6.1",
"gulp": "^4.0.2",
"gulp-eslint": "^6.0.0",
"gulp-jest": "^4.0.3",
"gulp-jest-acierto": "^4.0.3",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-terser": "^1.2.0",
"jest-cli": "^24.9.0",
"rollup": "^1.31.1"
"jest": "^26.1.0",
"rollup": "^2.18.2"
},
"dependencies": {}
}

0 comments on commit e0598e1

Please sign in to comment.