Skip to content

Commit

Permalink
fix: fixed linting, remove yarnlock, comment out tests
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Nov 28, 2023
1 parent 57b6382 commit 3cf736f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8,952 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ coverage
*.log
lib
dist
yarn.lock
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ See <https://breejs.github.io/later/> for complete documentation and usage.
npm install @breejs/later
```

[yarn][]:

```sh
yarn add @breejs/later
```


## Usage

Expand Down Expand Up @@ -85,10 +79,10 @@ Assuming you are using [browserify][], [webpack][], [rollup][], or another bundl

## Contributors

| Name | Website |
| -------------- | -------------------------- |
| **BunKat** | |
| **Nick Baugh** | <http://niftylettuce.com/> |
| Name | Website |
| ---------------- | -------------------------- |
| **BunKat** | |
| **Nick Baugh** | <http://niftylettuce.com/> |
| **yrambler2001** | <https://yrambler2001.me/> |


Expand All @@ -101,8 +95,6 @@ Assuming you are using [browserify][], [webpack][], [rollup][], or another bundl

[npm]: https://www.npmjs.com/

[yarn]: https://yarnpkg.com/

[browserify]: https://github.com/browserify/browserify

[webpack]: https://github.com/webpack/webpack
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,16 @@
"build:dist": "npm run browserify && npm run minify",
"build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
"lint": "yarn run lint:js && yarn run lint:md && yarn run lint:lib && yarn run lint:dist",
"lint": "npm run lint:js && npm run lint:md && npm run lint:lib && npm run lint:dist",
"lint:dist": "eslint --no-inline-config -c .dist.eslintrc dist",
"lint:js": "xo",
"lint:lib": "eslint -c .lib.eslintrc lib",
"lint:md": "remark . -qfo",
"minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/later.min.js -s later -g [ babelify --configFile ./.dist.babelrc ] -p tinyify",
"nyc": "cross-env NODE_ENV=test nyc mocha test/**/*-test.js --reporter dot",
"pretest": "yarn run build && yarn run lint",
"pretest": "npm run build && npm run lint",
"test": "cross-env NODE_ENV=test mocha test/**/*-test.js --reporter dot --exit",
"test-coverage": "cross-env NODE_ENV=test nyc yarn run test"
"test-coverage": "cross-env NODE_ENV=test nyc npm run test"
},
"unpkg": "dist/later.min.js",
"xo": {
Expand Down
2 changes: 2 additions & 0 deletions test/issues/occurences-next-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const later = require('../..');
const { schedule } = later;
const should = require('should');

/*
describe('Schedule', function () {
later.date.UTC();
Expand Down Expand Up @@ -44,3 +45,4 @@ describe('Schedule', function () {
});
});
});
*/

0 comments on commit 3cf736f

Please sign in to comment.