mirror of
https://github.com/osmoscraft/osmosfeed-template.git
synced 2026-03-11 14:44:24 +00:00
switch to package.json based build
This commit is contained in:
parent
a0b8c4c6b7
commit
93a47ca1ea
3 changed files with 28 additions and 4 deletions
6
.github/workflows/update-feed.yaml
vendored
6
.github/workflows/update-feed.yaml
vendored
|
|
@ -20,10 +20,10 @@ jobs:
|
|||
uses: actions/setup-node@v2.1.4
|
||||
with:
|
||||
node-version: "14"
|
||||
- name: Install osmosfeed
|
||||
run: npm i @osmoscraft/osmosfeed@^1.0.0
|
||||
- name: Install dependencies
|
||||
run: npm i
|
||||
- name: Build the feed
|
||||
run: npx osmosfeed
|
||||
run: npm run build
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
|
|
|
|||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
public
|
||||
node_modules
|
||||
node_modules
|
||||
package-lock.json
|
||||
23
package.json
Normal file
23
package.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"name": "osmosfeed-template",
|
||||
"version": "1.0.0",
|
||||
"description": "Use this template to create the UI and content of an RSS feed reader.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "osmosfeed"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/osmoscraft/osmosfeed-template.git"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "osmoscraft",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/osmoscraft/osmosfeed-template/issues"
|
||||
},
|
||||
"homepage": "https://github.com/osmoscraft/osmosfeed-template#readme",
|
||||
"dependencies": {
|
||||
"@osmoscraft/osmosfeed": "^1.2.2"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue