-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
74 lines (74 loc) · 1.98 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
{
"name": "@js-basics/vector",
"version": "2.1.0",
"description": "A 3D Vector lib including arithmetic operator overloading (+ - * / % **).",
"type": "module",
"main": "./build/esm/index.mjs",
"exports": {
".": {
"require": "./build/cjs/index.cjs",
"default": "./build/esm/index.mjs"
}
},
"module": "./build/esm/index.mjs",
"directories": {
"build": "build"
},
"scripts": {
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"clean": "rimraf lib",
"test": "npm run lint && npm run test:coverage",
"test:mocha": "mocha --recursive --experimental-specifier-resolution=node",
"test:coverage": "c8 npm run test:mocha",
"lint": "eslint src",
"lint:report": "eslint src -f json-relative -o ./eslint-report.json .",
"build": "node ./build.js",
"setup": "npm run snyk-protect && npm run clean && npm run test && npm run build",
"semantic-release": "semantic-release",
"snyk-protect": "snyk protect"
},
"repository": {
"type": "git",
"url": "https://github.com/basics/vector.git"
},
"keywords": [
"vector",
"operator overloading",
"math",
"arithmetic",
"basic",
"vec3",
"vec2",
"valueOf"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/basics/vector/issues"
},
"homepage": "https://github.com/basics/vector#readme",
"dependencies": {
"@babel/core": "7.22.9"
},
"devDependencies": {
"@babel/eslint-parser": "7.22.9",
"@commitlint/cli": "19.4.0",
"@commitlint/config-conventional": "19.2.2",
"browserslist-to-esbuild": "2.1.1",
"c8": "10.1.2",
"chai": "5.1.1",
"commitlint": "19.4.0",
"esbuild": "0.24.0",
"eslint": "8.57.0",
"eslint-formatter-json-relative": "0.1.0",
"husky": "9.1.5",
"lint-staged": "15.2.9",
"mocha": "10.7.3",
"pinst": "3.0.0",
"rimraf": "6.0.1",
"semantic-release": "24.1.0",
"snyk": "1.1292.4"
},
"snyk": true
}