Skip to content

Commit

Permalink
initial 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnaveen committed Sep 13, 2023
0 parents commit 6289959
Show file tree
Hide file tree
Showing 9 changed files with 1,651 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test

on:
pull_request:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.0
- uses: actions/setup-node@v3.0.0
with:
node-version: "14.x"
- name: use npm
run: |
npm install
npm test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![Test](https://github.com/mcnaveen/blurhash-base64/workflows/Test/badge.svg)
51 changes: 51 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "blurhash-base64",
"version": "0.0.1",
"description": "Utility to convert blurhash to base64",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"files": [
"dist"
],
"scripts": {
"build": "rollup -c",
"test": "yarn build && node ./test/index.js",
"watch": "rollup -cw",
"commit": "gacp",
"clean:dist": "npm exec -- rimraf ./dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mcnaveen/blurhash-base64.git"
},
"keywords": [
"blurhash"
],
"author": "mcnaveen <me@mcnaveen.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/mcnaveen/blurhash-base64/issues"
},
"homepage": "https://github.com/mcnaveen/blurhash-base64#readme",
"dependencies": {
"blurhash": "^2.0.5"
},
"devDependencies": {
"@types/node": "^20.6.0",
"gacp": "^3.0.3",
"rimraf": "^3.0.2",
"rollup": "^2.78.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.0",
"typescript": "^4.8.2"
},
"publishConfig": {
"access": "public"
},
"gacp": {
"add": false,
"push": false,
"emoji": "emoji",
"editor": false
}
}
Loading

0 comments on commit 6289959

Please sign in to comment.