forked from tanem/svg-injector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 3.22 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
{
"name": "@tanem/svg-injector",
"version": "8.0.35",
"description": "Fast, caching, dynamic inline SVG DOM injection library.",
"author": "Tane Morgan (https://github.com/tanem)",
"main": "dist/index.js",
"module": "dist/svg-injector.esm.js",
"jsnext:main": "dist/svg-injector.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"homepage": "https://github.com/tanem/svg-injector",
"bugs": "https://github.com/tanem/svg-injector/issues",
"repository": "github:tanem/svg-injector",
"keywords": [
"dom",
"html",
"images",
"img",
"javascript",
"scalable-vector-graphics",
"svg",
"typescript"
],
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.7.2"
},
"devDependencies": {
"@babel/core": "7.7.2",
"@babel/plugin-transform-runtime": "7.6.2",
"@babel/preset-env": "7.7.1",
"@babel/preset-typescript": "7.7.2",
"@starptech/prettyhtml": "0.10.0",
"@types/chai": "4.2.4",
"@types/glob": "7.1.1",
"@types/karma": "3.0.3",
"@types/karma-chai": "0.1.2",
"@types/mocha": "5.2.7",
"@types/shelljs": "0.8.6",
"@types/sinon": "7.5.0",
"@types/webpack-env": "1.14.1",
"@typescript-eslint/eslint-plugin": "2.6.1",
"@typescript-eslint/parser": "2.6.1",
"babel-loader": "8.0.6",
"chai": "4.2.0",
"codecov": "3.6.1",
"cp-cli": "2.0.0",
"del-cli": "3.0.0",
"eslint": "6.6.0",
"eslint-config-prettier": "6.5.0",
"istanbul-instrumenter-loader": "3.0.1",
"karma": "4.4.1",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "2.1.0",
"karma-mocha": "1.3.0",
"karma-sourcemap-loader": "0.3.7",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"mocha": "6.2.2",
"npm-run-all": "4.1.5",
"null-loader": "3.0.0",
"prettier": "1.18.2",
"rollup": "1.26.3",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-filesize": "6.2.1",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-sourcemaps": "0.4.2",
"rollup-plugin-terser": "5.1.2",
"sinon": "7.5.0",
"tanem-scripts": "2.0.14",
"ts-node": "8.4.1",
"typescript": "3.7.2",
"webpack": "4.41.2"
},
"scripts": {
"authors": "tanem-scripts authors > AUTHORS",
"build": "run-s clean compile bundle",
"bundle": "rollup -c",
"changelog": "tanem-scripts changelog -f v$npm_package_version > CHANGELOG.md",
"check:format": "prettier --list-different \"**/*.{js,ts}\"",
"check:types": "tsc --noEmit",
"clean": "run-p clean:*",
"clean:compiled": "del compiled",
"clean:coverage": "del coverage",
"clean:dist": "del dist",
"compile": "tsc -p tsconfig.base.json",
"format": "prettier --write \"**/*.{js,ts}\"",
"lint": "eslint .",
"postbundle": "del compiled && cp-cli ./index.js ./dist/index.js",
"postversion": "git push && git push --tags && npm publish --access=public",
"release": "npm version -m 'Release v%s'",
"test": "run-s check:* lint build test:karma",
"test:karma": "karma start",
"updatedeps": "ts-node scripts/update-deps",
"version": "run-s test changelog authors && git add ."
}
}