-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3.03 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
{
"name": "svg-to-inline",
"version": "1.0.0-alpha.1",
"description": "Web Component to request an SVG file external and use inline",
"homepage": "https://tiagoporto.github.io/svg-to-inline",
"keywords": [
"svg",
"inline",
"include",
"html",
"dynamic",
"replace",
"web component",
"component"
],
"license": "MIT",
"author": {
"name": "Tiago Porto",
"url": "http://tiagoporto.com"
},
"repository": {
"type": "git",
"url": "https://github.com/tiagoporto/svg-to-inline.git"
},
"main": "./dist/svg-to-inline.js",
"scripts": {
"start": "webpack-dev-server",
"lint:eslint": "eslint --ext .js,.html .",
"format:eslint": "eslint --ext .js,.html . --fix",
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
"format:prettier": "prettier \"**/*.js\" --write",
"lint": "npm run lint:eslint && npm run lint:prettier",
"format": "npm run format:eslint && npm run format:prettier",
"test": "karma start --coverage",
"test:watch": "karma start --auto-watch=true --single-run=false",
"test:update-snapshots": "karma start --update-snapshots",
"test:prune-snapshots": "karma start --prune-snapshots",
"test:legacy": "karma start --legacy --coverage",
"test:legacy:watch": "karma start --legacy --auto-watch=true --single-run=false",
"test:bs": "karma start karma.bs.config.js --legacy --coverage",
"site:build": "npm run storybook:build",
"storybook": "start-storybook -p 9001",
"storybook:build": "build-storybook -o _site -s storybook-static",
"build": "rimraf dist && rollup -c rollup.config.js",
"start:build": "http-server dist -o -c-1",
"watch:build": "rimraf dist && rollup --watch -c rollup.config.js & http-server dist -o -c-1",
"deploy": "gh-pages -d demo",
"prepare": "npm run build",
"tag": "git tag v$npm_package_version",
"postpublish": "npm run tag && git push --tags"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.0",
"@open-wc/building-rollup": "^0.3.0",
"@open-wc/demoing-storybook": "^0.2.0",
"@open-wc/eslint-config": "^0.4.1",
"@open-wc/prettier-config": "^0.1.0",
"@open-wc/testing": "^0.11.1",
"@open-wc/testing-karma": "^1.0.0",
"@open-wc/testing-karma-bs": "^1.0.0",
"babel-loader": "^8.0.5",
"gh-pages": "^2.0.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.0.0",
"lint-staged": "^8.0.0",
"lit-element": "^2.1.0",
"lit-html": "^1.1.0",
"rimraf": "^2.6.3",
"rollup": "^1.6.0",
"throttle-debounce": "^2.1.0",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.3.1",
"webpack-merge": "^4.1.5"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"dependencies": {
"whatwg-fetch": "^3.0.0"
}
}