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: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v2
with: with:
version: 7 version: 7
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install
- name: Run tests - name: Run tests

1
.npmrc Normal file
View File

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

View File

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