This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
84 lines (84 loc) · 2.46 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "vecti",
"description": "A tiny TypeScript library for 2D vector math.",
"version": "2.1.38",
"license": "MIT",
"repository": "github:DerYeger/vecti",
"homepage": "https://vecti.yeger.eu",
"bugs": {
"url": "https://github.com/DerYeger/vecti/issues"
},
"author": {
"name": "Jan Müller",
"url": "https://github.com/DerYeger"
},
"keywords": [
"vector",
"math",
"2d",
"typescript"
],
"scripts": {
"prepare": "husky install",
"prebuild": "rimraf ./dist",
"build": "tsc --noEmit && vite build",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"lint": "yarn lint:prettier && yarn lint:eslint",
"lint:commits": "yarn commitlint --from=HEAD~1",
"lint:eslint": "eslint \"./**/*.{js,ts,vue}\"",
"lint:prettier": "prettier --check \"./**/*.{js,json,html,scss,ts,vue,yml}\"",
"fix": "yarn pretty && yarn lint:eslint --fix ",
"test": "vitest --api --open",
"test:ci": "rimraf ./coverage && c8 --reporter=lcov --reporter=text --all --src \"src\" --include \"src/*\" vitest --run",
"test:run": "vitest --run",
"pretty": "prettier --write \"./**/*.{js,json,html,scss,ts,vue,yml}\"",
"prepublishOnly": "yarn build"
},
"files": [
"dist"
],
"main": "./dist/vecti.umd.js",
"module": "./dist/vecti.es.mjs",
"exports": {
".": {
"import": "./dist/vecti.es.mjs",
"require": "./dist/vecti.umd.js"
}
},
"types": "dist/types/vecti.d.ts",
"sideEffects": false,
"devDependencies": {
"@commitlint/cli": "17.2.0",
"@commitlint/config-conventional": "17.2.0",
"@types/node": "18.11.9",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"@vitest/ui": "0.25.3",
"@vue/component-compiler-utils": "3.3.0",
"c8": "7.12.0",
"eslint": "8.28.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-tsdoc": "0.2.17",
"eslint-plugin-unused-imports": "2.0.0",
"eslint-plugin-vue": "9.8.0",
"husky": "8.0.2",
"lint-staged": "13.0.4",
"prettier": "2.8.0",
"rimraf": "3.0.2",
"typescript": "4.9.3",
"vite": "3.2.4",
"vite-plugin-dts": "1.7.1",
"vitepress": "1.0.0-alpha.29",
"vitest": "0.25.3"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{js,json,html,scss,ts,vue,yml}": "prettier --write",
"*.{js,json,ts,vue}": "eslint --fix"
}
}