UNPKG

1.59 kBJSONView Raw
1{
2 "name": "@antv/util",
3 "version": "2.0.17",
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 "publishConfig": {
38 "access": "public"
39 },
40 "author": "https://github.com/orgs/antvis/people",
41 "license": "ISC",
42 "bugs": {
43 "url": "https://github.com/antvis/util/issues"
44 },
45 "devDependencies": {
46 "@antv/torch": "^1.0.0",
47 "chai": "^4.2.0",
48 "less": "^3.9.0",
49 "npm-run-all": "^4.1.5"
50 },
51 "homepage": "https://github.com/antvis/util#readme",
52 "dependencies": {
53 "tslib": "^2.0.3",
54 "csstype": "^3.0.8"
55 }
56}