123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- {
- "name": "@antv/x6",
- "version": "1.34.13",
- "description": "JavaScript diagramming library that uses SVG and HTML for rendering.",
- "main": "lib/index.js",
- "module": "es/index.js",
- "unpkg": "dist/x6.js",
- "jsdelivr": "dist/x6.js",
- "types": "lib/index.d.ts",
- "files": [
- "dist",
- "es",
- "lib",
- "src"
- ],
- "keywords": [
- "graph",
- "diagram",
- "flowchart",
- "uml",
- "x6-editor",
- "editor",
- "svg",
- "x6",
- "antv"
- ],
- "scripts": {
- "clean:build": "rimraf dist es lib",
- "clean:coverage": "rimraf ./test/coverage",
- "clean": "run-p clean:build clean:coverage",
- "lint:ts": "eslint 'src/**/*.{js,ts}?(x)' --fix",
- "lint:style": "stylelint 'src/**/*.less' --syntax less --fix",
- "lint": "run-s lint:ts lint:style",
- "build:esm": "tsc --module esnext --target es2015 --outDir ./es",
- "build:cjs": "tsc --module commonjs --target es5 --outDir ./lib",
- "build:umd": "rollup -c",
- "build:less": "node ./scripts/style",
- "build:readme": "node ./scripts/readme.js",
- "build:csstype": "node ./scripts/csstype.js",
- "build:dev": "run-p build:csstype build:less build:cjs build:esm",
- "build:watch": "yarn build:esm --w",
- "build:watch:esm": "yarn build:esm --w",
- "build:watch:cjs": "yarn build:cjs --w",
- "build": "run-p build:readme build:dev build:umd",
- "prebuild": "run-s lint clean",
- "test": "karma start",
- "coveralls": "cat ./test/coverage/lcov.info | coveralls",
- "pretest": "run-p clean:coverage",
- "prepare": "run-s test build",
- "precommit": "lint-staged"
- },
- "lint-staged": {
- "src/**/*.less": [
- "stylelint --syntax less --fix"
- ],
- "src/**/*.ts": [
- "eslint --fix"
- ]
- },
- "inherits": [
- "@antv/x6-package-json/cli.json",
- "@antv/x6-package-json/less.json",
- "@antv/x6-package-json/karma.json",
- "@antv/x6-package-json/eslint.json",
- "@antv/x6-package-json/rollup.json"
- ],
- "dependencies": {
- "csstype": "^3.0.3",
- "jquery": "^3.5.1",
- "jquery-mousewheel": "^3.1.13",
- "lodash-es": "^4.17.15",
- "mousetrap": "^1.6.5",
- "utility-types": "^3.10.0"
- },
- "devDependencies": {
- "@rollup/plugin-commonjs": "^20.0.0",
- "@rollup/plugin-node-resolve": "^13.0.4",
- "@rollup/plugin-replace": "^3.0.0",
- "@rollup/plugin-typescript": "^8.2.5",
- "@types/jasmine": "^3.9.0",
- "@types/jquery": "^3.5.5",
- "@types/jquery-mousewheel": "^3.1.8",
- "@types/lodash-es": "^4.17.4",
- "@types/mousetrap": "^1.6.5",
- "@types/node": "^16.9.1",
- "@types/resize-observer-browser": "^0.1.5",
- "@types/sinon": "^10.0.2",
- "@typescript-eslint/eslint-plugin": "^4.31.0",
- "@typescript-eslint/parser": "^4.31.0",
- "coveralls": "^3.1.1",
- "eslint": "^7.32.0",
- "eslint-config-airbnb-base": "^14.2.1",
- "eslint-config-prettier": "^8.3.0",
- "eslint-plugin-eslint-comments": "^3.2.0",
- "eslint-plugin-import": "^2.24.2",
- "eslint-plugin-jest": "^24.4.0",
- "eslint-plugin-jsx-a11y": "^6.4.1",
- "eslint-plugin-prettier": "^4.0.0",
- "eslint-plugin-promise": "^5.1.0",
- "eslint-plugin-react": "^7.25.1",
- "eslint-plugin-react-hooks": "^4.2.0",
- "eslint-plugin-unicorn": "^36.0.0",
- "fs-extra": "^10.0.0",
- "jasmine-core": "^3.9.0",
- "karma": "^6.3.4",
- "karma-chrome-launcher": "^3.1.0",
- "karma-cli": "^2.0.0",
- "karma-jasmine": "^4.0.1",
- "karma-spec-reporter": "^0.0.32",
- "karma-typescript": "5.3.0",
- "karma-typescript-es6-transform": "5.3.0",
- "less": "^4.1.1",
- "lint-staged": "^11.1.2",
- "npm-run-all": "^4.1.5",
- "postcss": "^8.3.6",
- "prettier": "^2.4.0",
- "pretty-quick": "^3.1.1",
- "rimraf": "^3.0.2",
- "rollup": "^2.56.3",
- "rollup-plugin-auto-external": "^2.0.0",
- "rollup-plugin-filesize": "^9.1.1",
- "rollup-plugin-postcss": "^4.0.1",
- "rollup-plugin-progress": "^1.1.2",
- "rollup-plugin-terser": "^7.0.2",
- "sinon": "^11.1.2",
- "stylelint": "^13.13.1",
- "stylelint-config-prettier": "^8.0.2",
- "stylelint-config-rational-order": "^0.1.2",
- "stylelint-config-standard": "^22.0.0",
- "stylelint-declaration-block-no-ignored-properties": "^2.4.0",
- "stylelint-order": "^4.1.0",
- "ts-node": "^10.2.1",
- "tslib": "^2.3.1",
- "typescript": "^4.4.3"
- },
- "author": {
- "name": "bubkoo",
- "email": "bubkoo.wy@gmail.com"
- },
- "contributors": [],
- "license": "MIT",
- "homepage": "https://github.com/antvis/x6",
- "bugs": {
- "url": "https://github.com/antvis/x6/issues"
- },
- "repository": {
- "type": "git",
- "url": "ssh://git@github.com/antvis/x6.git",
- "directory": "packages/x6"
- },
- "publishConfig": {
- "access": "public",
- "registry": "https://registry.npmjs.org"
- },
- "gitHead": "de35af5d84eb6874287f27f3142f73c908bb1bdc"
- }
|