Skip to content

Commit 5130a4f

Browse files
committed
break: publish a npm package
1 parent 9ed1340 commit 5130a4f

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.github/workflows/npmjs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
jobs:
66
build-and-publish:
77
environment:
8-
name: github-pages
8+
name: npmjs-publish
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: read

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("Hello, World!");

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "bmssp",
3+
"version": "0.1.0",
4+
"description": "Javascript package implementation of the bmssp algorithm.",
5+
"keywords": [
6+
"shortest-paths",
7+
"bmssp",
8+
"tsinghua",
9+
"dijkstra"
10+
],
11+
"homepage": "https://github.com/Sirivasv/bmssp-js#readme",
12+
"bugs": {
13+
"url": "https://github.com/Sirivasv/bmssp-js/issues"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "git+https://github.com/Sirivasv/bmssp-js.git"
18+
},
19+
"license": "MPL-2.0",
20+
"author": "Saul Ivan Rivas Vega",
21+
"type": "commonjs",
22+
"main": "index.js",
23+
"directories": {
24+
"doc": "docs"
25+
},
26+
"scripts": {
27+
"test": "echo \"Error: no test specified\" && exit 1"
28+
}
29+
}

0 commit comments

Comments
 (0)