-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.66 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "@wowserhq/io",
"version": "2.0.2",
"description": "IO library for Wowser",
"author": "Wowser Contributors",
"repository": "github:wowserhq/io",
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
},
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && npm run test && npm run build:cjs && npm run build:esm && npm run build:types && npm run build:package",
"build:cjs": "tsc --module commonjs --outDir ./dist/cjs",
"build:esm": "tsc --module node16 --outDir ./dist/esm",
"build:types": "tsc --module node16 --emitDeclarationOnly --declaration --declarationDir ./dist/types",
"build:package": "node ./script/build-package.js",
"clean": "node ./script/clean.js",
"format": "prettier ./src/**/* --write",
"lint": "eslint --ignore-path .gitignore",
"lint:commit": "commitlint --edit",
"prepublishOnly": "npm run build",
"test": "npm run lint && vitest run",
"prepare": "husky install"
},
"keywords": [
"wowser"
],
"devDependencies": {
"@commitlint/config-conventional": "^18.4.3",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitest/ui": "^1.0.4",
"commitlint": "^18.4.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"fs-extra": "^11.2.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"typescript": "^5.3.3",
"vitest": "^1.0.4"
}
}