Skip to content

Commit

Permalink
Merge remote-tracking branch 'base/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
enjikaka committed Jan 20, 2024
2 parents 855cc36 + 6bc2757 commit e119d57
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 13 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test

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

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

31 changes: 22 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "beaivi",
"type": "module",
"version": "0.0.6",
"description": "A tiny JavaScript library for calculating sun/moon positions and phases.",
"homepage": "https://github.com/Vufuzi/beaivi",
"description": "A tiny JavaScript library for calculating sun/moon positions and phases. Based on Suncalc.",
"homepage": "https://github.com/Glatek/beaivi",
"keywords": [
"sun",
"astronomy",
Expand All @@ -18,24 +18,37 @@
"license": "BSD",
"contributors": [
"Vladimir Agafonkin <[email protected]> (https://github.com/mourner)",
"Jeremy Karlsson <[email protected]> (https://jeremy.se)"
"Jeremy Karlsson <[email protected]> (https://github.com/enjikaka)"
],
"repository": {
"type": "git",
"url": "git://github.com/Vufuzi/beaivi.git"
"url": "git://github.com/Glatek/beaivi.git"
},
"main": "index.js",
"exports": {
"import": "./index.js"
},
"types": "./index.d.ts",
"devDependencies": {
"ava": "^3.13.0",
"eslint": "^7.14.0",
"eslint-config-tidal": "^1.2.0",
"tap": "^14.11.0",
"esbuild": "^0.8.56"
"eslint": "^8.8.0",
"eslint-config-mourner": "^2.0.1",
"tape": "^5.5.0"
},
"eslintConfig": {
"extends": "mourner",
"rules": {
"indent": 0,
"array-bracket-spacing": 0,
"strict": 0,
"brace-style": 0
},
"env": {
"amd": true
}
},
"files": [
"suncalc.js"
],
"scripts": {
"release": "time ./scripts/release.sh",
"build": "time ./scripts/build.sh",
Expand Down

0 comments on commit e119d57

Please sign in to comment.