build: add standard-version & enable package-lock

This commit is contained in:
winston 2023-03-03 03:44:38 +01:00
parent 0bc8247f1a
commit 0937412b1c
No known key found for this signature in database
GPG Key ID: 3786770EDBC2B481
4 changed files with 4080 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
dist/
node_modules/
/*.tgz

1
.npmrc
View File

@ -1 +0,0 @@
package-lock=false

4075
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,8 @@
"scripts": {
"test": "ava",
"build": "node esbuild.js",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"release": "standard-version"
},
"files": [
"css/*",
@ -57,6 +58,7 @@
],
"devDependencies": {
"ava": "^4.2.0",
"esbuild": "^0.14.42"
"esbuild": "^0.14.42",
"standard-version": "^9.5.0"
}
}