UNPKG

1.53 kBJSONView Raw
1{
2 "name": "@antv/path-util",
3 "version": "2.0.9",
4 "description": "A common util collection for antv projects",
5 "main": "lib/index.js",
6 "types": "lib/index.d.ts",
7 "module": "esm/index.js",
8 "files": [
9 "src",
10 "package.json",
11 "esm",
12 "lib",
13 "README.md"
14 ],
15 "scripts": {
16 "build": "npm run clean && run-p build:*",
17 "build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
18 "build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
19 "clean": "rm -rf lib && rm -rf esm",
20 "coverage": "npm run coverage-generator && npm run coverage-viewer",
21 "coverage-generator": "torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts __tests__/mocha.opts",
22 "coverage-viewer": "torch-coverage",
23 "test": "torch --renderer --compile --opts __tests__/mocha.opts",
24 "test-live": "torch --compile --interactive --opts __tests__/mocha.opts",
25 "tsc": "tsc --noEmit",
26 "typecheck": "tsc --noEmit"
27 },
28 "repository": {
29 "type": "git",
30 "url": "git+https://github.com/antvis/util.git"
31 },
32 "keywords": [
33 "util",
34 "antv",
35 "g"
36 ],
37 "author": "https://github.com/orgs/antvis/people",
38 "license": "ISC",
39 "bugs": {
40 "url": "https://github.com/antvis/util/issues"
41 },
42 "devDependencies": {
43 "@antv/torch": "^1.0.0",
44 "less": "^3.9.0",
45 "npm-run-all": "^4.1.5"
46 },
47 "homepage": "https://github.com/antvis/util#readme",
48 "dependencies": {
49 "@antv/util": "^2.0.9",
50 "tslib": "^2.0.3"
51 }
52}