-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
88 lines (88 loc) · 2.15 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
85
86
87
88
{
"name": "vector2d",
"keywords": [
"physics",
"math",
"vector",
"vectors",
"2d",
"float",
"float32",
"Float32Array",
"typescript",
"tsc"
],
"description": "2D Vector library offering Float32Array, Array or standard Object based vectors.",
"main": "src/Vec2D.js",
"typings": "src/Vec2D.d.ts",
"author": "Evan Shortiss <[email protected]> (http://evanshortiss.com)",
"version": "3.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/evanshortiss/vector2d.git"
},
"scripts": {
"tsc": "tsc",
"test": "tsc && jest",
"coveralls": "cat coverage/lcov.info | coveralls",
"prepublish": "tsc",
"prettier": "prettier src/*.ts !src/*.d.ts --write --no-semi",
"precommit": "npm run prettier && npm run test && npm run typedoc",
"browserify": "browserify -s Vec2D -e src/Vec2D.js -o dist/vec2d.js",
"uglify": "uglifyjs -c -m -o dist/vec2d.min.js dist/vec2d.js",
"typedoc": "typedoc --out docs/ src/ && touch docs/.nojekyll && git add ."
},
"jest": {
"testEnvironment": "node",
"cache": false,
"collectCoverage": true,
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"devDependencies": {
"@types/jest": "~22.2.3",
"@types/node": "~10.0.8",
"browserify": "~16.2.2",
"coveralls": "~3.0.1",
"husky": "~0.14.3",
"jest": "~22.0.6",
"prettier": "~1.12.1",
"ts-jest": "~22.0.4",
"typedoc": "~0.11.1",
"typescript": "~2.8.3",
"uglify-js": "~3.3.27"
},
"bugs": {
"url": "https://github.com/evanshortiss/vector2d/issues"
},
"license": "MIT",
"engines": {
"node": ">=6"
},
"homepage": "https://github.com/evanshortiss/vector2d#readme",
"directories": {
"doc": "docs"
},
"dependencies": {}
}