-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 2.79 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"author": "Ignacio Lago @ignlg <[email protected]>",
"description": "Powerful TypeScript/JavaScript library to simplify paths or surfaces between 2 and N dimensions efficiently.",
"keywords": [
"simplify",
"simplification",
"optimization",
"path",
"surface",
"geometry",
"geojson",
"topology",
"topojson",
"algorithm",
"route",
"line",
"curve",
"typescript"
],
"main": "dist/simplify-path-js.umd.js",
"module": "dist/simplify-path-js.es5.js",
"types": "dist/types/simplify-path.class.d.ts",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/benchmark": "^2.1.5",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"benchmark": "^2.1.4",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "<9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"lodash.camelcase": "^4.3.0",
"prettier": "^3.2.5",
"prettier-eslint": "^16.3.0",
"rimraf": "^5.0.5",
"rollup": "^4.14.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsc-watch": "^6.2.0",
"typedoc": "^0.25.13",
"typescript": "^5.4.4"
},
"engines": {
"node": ">=10.0.0"
},
"files": [
"dist"
],
"jest": {
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest"
}
},
"license": "BSD-3-Clause",
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"jest --coverage --no-cache"
]
},
"name": "simplify-path-js",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/ignlg/simplify-path-js.git"
},
"scripts": {
"build": "tsc --project tsconfig.build.json && rollup -c && rimraf compiled && typedoc",
"lint": "eslint --fix 'src/**/*.ts'",
"prebuild": "rimraf dist",
"precommit": "lint-staged",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"start": "tsc-watch --onSuccess \"rollup -c\"",
"test": "jest --coverage --no-cache",
"test:heapUsage": "node --expose-gc ./node_modules/.bin/jest --runInBand --logHeapUsage",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"test:watch": "jest --watch"
},
"version": "1.0.2"
}