config stuff

This commit is contained in:
cupcakearmy 2022-10-14 13:17:22 +02:00
parent 75d702a5c7
commit 7a6a24d631
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
3 changed files with 17 additions and 0 deletions

View File

@ -13,10 +13,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 7
- name: Install dependencies
run: pnpm install
- name: Run tests

1
.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=true

View File

@ -15,6 +15,12 @@
],
"author": "Niccolo Borgioli",
"license": "MIT",
"engines": {
"node": ">=16",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": "7"
},
"type": "module",
"exports": {
".": {
@ -23,6 +29,9 @@
"types": "./dist/esm/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"docs": "typedoc",
"test:node": "mocha",