generated from templates/typescript-library
Compare commits
5 Commits
ddbda71a84
...
master
Author | SHA1 | Date | |
---|---|---|---|
878592fbc6
|
|||
aa7272b0b4
|
|||
0db015e91d
|
|||
7c93618c5c
|
|||
a609a5ad4d
|
3
.npmignore
Normal file
3
.npmignore
Normal file
@@ -0,0 +1,3 @@
|
||||
.gitea
|
||||
src
|
||||
tsconfig.json
|
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@js/memo",
|
||||
"version": "0.1.0",
|
||||
"version": "0.2.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@js/memo",
|
||||
"version": "0.1.0",
|
||||
"version": "0.2.0",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@js/types": "^0.2.1",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@js/memo",
|
||||
"version": "0.1.0",
|
||||
"version": "0.2.0",
|
||||
"description": "In-memory caching/memoization utilities",
|
||||
"main": "build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
|
@@ -6,7 +6,13 @@ In-memory caching/memoization utilities
|
||||
## Install
|
||||
|
||||
```bash
|
||||
# Update project npm config to refer to correct registry for the @js scope
|
||||
echo '@js:registry=https://gitea.jbrumond.me/api/packages/js/npm/' >> ./.npmrc
|
||||
|
||||
npm install --save @js/memo
|
||||
|
||||
# optional - additional supporting typescript definitions
|
||||
npm install --save-dev @js/types
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
Reference in New Issue
Block a user