aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
blob: 4c7fe54c7befd3c7c85722b98d055eb90d210a50 (plain)
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
106
107
108
109
110
111
112
113
114
115
116
117
{
  "name": "@svgdotjs/svg.js",
  "version": "3.1.2",
  "description": "A lightweight library for manipulating and animating SVG.",
  "url": "https://svgjs.dev/",
  "homepage": "https://svgjs.dev/",
  "keywords": [
    "svg",
    "vector",
    "graphics",
    "animation"
  ],
  "author": "Wout Fierens <wout@mick-wout.com>",
  "main": "dist/svg.node.js",
  "unpkg": "dist/svg.min.js",
  "jsdelivr": "dist/svg.min.js",
  "browser": "dist/svg.esm.js",
  "module": "src/main.js",
  "files": [
    "/dist",
    "/src",
    "/svg.js.d.ts",
    "/.config"
  ],
  "maintainers": [
    {
      "name": "Wout Fierens",
      "email": "wout@mick-wout.com"
    },
    {
      "name": "Alex Ewerlöf",
      "email": "alex@userpixel.com",
      "web": "http://www.ewerlof.name"
    },
    {
      "name": "Ulrich-Matthias Schäfer",
      "email": "ulima.ums@googlemail.com",
      "web": "https://svgdotjs.github.io/"
    },
    {
      "name": "Jon Ege Ronnenberg",
      "email": "jon@svgjs.dev",
      "url": "https://keybase.io/dotnetcarpenter"
    }
  ],
  "licenses": [
    {
      "type": "MIT",
      "url": "http://www.opensource.org/licenses/mit-license.php"
    }
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/svgdotjs/svg.js.git"
  },
  "github": "https://github.com/svgdotjs/svg.js",
  "license": "MIT",
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/Fuzzyma"
  },
  "typings": "./svg.js.d.ts",
  "scripts": {
    "build": "npm run fix && npm run rollup",
    "build:polyfills": "npx rollup -c .config/rollup.polyfills.js",
    "build:tests": "npx rollup -c .config/rollup.tests.js",
    "fix": "npx eslint ./src --fix",
    "lint": "npx eslint ./src",
    "rollup": "npx rollup -c .config/rollup.config.js",
    "server": "npx http-server ./ -d",
    "test": "npx karma start .config/karma.conf.js || true",
    "test:ci": "karma start .config/karma.conf.saucelabs.js",
    "test:svgdom": "node -r esm ./spec/runSVGDomTest.js || true",
    "zip": "zip -j dist/svg.js.zip -- LICENSE.txt README.md CHANGELOG.md dist/svg.js dist/svg.js.map dist/svg.min.js dist/svg.min.js.map dist/polyfills.js dist/polyfillsIE.js",
    "prepublishOnly": "rm -rf ./dist && npm run build && npm run build:polyfills && npm test",
    "postpublish": "npm run zip",
    "checkTests": "node spec/checkForAllTests.js"
  },
  "devDependencies": {
    "@babel/core": "^7.16.12",
    "@babel/plugin-transform-runtime": "^7.16.10",
    "@babel/preset-env": "^7.16.11",
    "@rollup/plugin-babel": "^5.3.0",
    "@rollup/plugin-commonjs": "^21.0.1",
    "@rollup/plugin-multi-entry": "^4.1.0",
    "@rollup/plugin-node-resolve": "^13.1.3",
    "@target/custom-event-polyfill": "github:Adobe-Marketing-Cloud/custom-event-polyfill",
    "babel-eslint": "^10.1.0",
    "core-js": "^3.20.3",
    "coveralls": "^3.1.1",
    "eslint": "^8.7.0",
    "eslint-config-standard": "^16.0.3",
    "eslint-plugin-import": "^2.25.4",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^6.0.0",
    "eslint-plugin-sort-class-members": "^1.14.1",
    "eslint-plugin-standard": "^5.0.0",
    "esm": "^3.2.25",
    "http-server": "^14.1.0",
    "jasmine": "^4.0.2",
    "jasmine-core": "^4.0.0",
    "karma": "^6.3.12",
    "karma-chrome-launcher": "^3.1.0",
    "karma-coverage": "^2.1.0",
    "karma-firefox-launcher": "^2.1.2",
    "karma-jasmine": "^4.0.1",
    "karma-sauce-launcher": "^4.3.6",
    "rollup": "^2.66.1",
    "rollup-plugin-filesize": "^9.1.2",
    "rollup-plugin-terser": "^7.0.2",
    "typescript": "^4.5.5",
    "yargs": "^17.3.1",
    "svgdom": "^0.1.10",
    "babel-plugin-polyfill-corejs3": "^0.5.1"
  },
  "browserslist": "last 2 version and > 0.25% and not op_mini all and not ie 11"
}