Skip to content

Commit

Permalink
Upgrade all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
RauliL committed Apr 15, 2024
1 parent 7dd3731 commit cd8e7cf
Show file tree
Hide file tree
Showing 7 changed files with 1,395 additions and 1,420 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,json,html,ts}]
[*.{js,json,html,ts,yml}]
indent_style = space
indent_size = 2

Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Build
run: yarn run build
- name: Run tests
run: yarn run test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Pakertaja JavaScript library [![travis][travis-image]][travis-url] [![coveralls][coveralls-image]][coveralls-url] [![npm][npm-image]][npm-url]
# Pakertaja JavaScript library [![github-url][github-image]][github-url] [![coveralls][coveralls-image]][coveralls-url] [![npm][npm-image]][npm-url]

[travis-image]: https://img.shields.io/travis/RauliL/pakertaja/master.svg
[travis-url]: https://travis-ci.org/RauliL/pakertaja
[github-image]: https://github.com/RauliL/pakertaja/actions/workflows/test.yml/badge.svg
[github-url]: https://github.com/RauliL/pakertaja/actions/workflows/test.yml
[coveralls-image]: https://coveralls.io/repos/github/RauliL/pakertaja/badge.svg
[coveralls-url]: https://coveralls.io/github/RauliL/pakertaja
[npm-image]: https://img.shields.io/npm/v/pakertaja.svg
Expand Down
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,30 @@
],
"main": "dist/pakertaja.js",
"module": "dist/pakertaja.mjs",
"browser": "dist/pakertaja.iife.js",
"types": "index.d.ts",
"scripts": {
"build": "rollup -c",
"watch": "rollup -c -w",
"pretest": "env NODE_ENV=test yarn run build",
"prepare": "env NODE_ENV=production yarn run build",
"test": "nyc --reporter=html --reporter=text mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls"
"clean": "rimraf './dist'",
"pretest": "env NODE_ENV=test $npm_execpath run build",
"prebuild": "$npm_execpath run clean",
"prepack": "env NODE_ENV=production $npm_execpath run build",
"test": "nyc --reporter=html --reporter=text --reporter=lcov mocha"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@istanbuljs/nyc-config-babel": "^3.0.0",
"@rollup/plugin-babel": "^5.0.2",
"babel-plugin-istanbul": "^6.0.0",
"babel-preset-minify": "^0.5.1",
"coveralls": "^3.1.0",
"mocha": "^7.1.2",
"@rollup/plugin-babel": "^6.0.4",
"babel-plugin-istanbul": "^6.1.1",
"babel-preset-minify": "^0.5.2",
"mocha": "^10.4.0",
"nodom": "^2.4.0",
"nyc": "^15.0.1",
"rollup": "^2.10.5",
"should": "^13.2.3",
"yarn": "^1.22.4"
"rimraf": "^5.0.5",
"rollup": "^4.14.3",
"should": "^13.2.3"
},
"files": [
"LICENSE",
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import babel from '@rollup/plugin-babel';
const babel = require('@rollup/plugin-babel');

export default {
module.exports = {
input: 'src/pakertaja.js',
output: [
{
Expand Down
Loading

0 comments on commit cd8e7cf

Please sign in to comment.