/
package.json
executable file
·56 lines (56 loc) · 1.44 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
53
54
55
56
{
"name": "okjs",
"version": "5.0.0-0",
"description": "A super tiny TypeScript library for form validation",
"type": "module",
"main": "./dist/ok.umd.cjs",
"module": "./dist/ok.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"types": "./dist/main.d.ts",
"import": "./dist/ok.js",
"require": "./dist/ok.umd.cjs"
}
},
"scripts": {
"start": "npm run dist",
"dist": "npm run lint && npm run test && npm run clean && npm run build && npm run docs",
"clean": "rm -rf ./dist ./docs",
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"fix": "eslint . --ext ts,tsx --fix",
"test": "vitest run",
"test:dev": "vitest dev",
"docs": "typedoc"
},
"bugs": {
"url": "https://github.com/FelixRilling/okjs/issues"
},
"homepage": "https://github.com/FelixRilling/okjs#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/FelixRilling/okjs.git"
},
"author": "Felix Rilling",
"license": "Apache-2.0",
"keywords": [
"validation",
"form"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@vitest/coverage-v8": "^1.0.4",
"eslint": "^8.13.0",
"eslint-plugin-prettier": "^5.0.0",
"jsdom": "^24.0.0",
"prettier": "^3.0.2",
"typedoc": "^0.25.3",
"typescript": "~5.3.2",
"vite": "^5.0.8",
"vite-plugin-dts": "^3.7.0",
"vitest": "^1.0.4"
}
}