forked from cy6erskunk/svg-crowbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.99 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
{
"name": "svg-crowbar",
"version": "0.6.5",
"description": "A library based on a Chrome-specific bookmarklet that extracts SVG nodes and accompanying styles from an HTML document and downloads them as an SVG file",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"files": [
"dist"
],
"scripts": {
"test": "BABEL_ENV=commonjs jest --forceExit",
"test-ci": "BABEL_ENV=commonjs jest --runInBand --forceExit",
"lint": "eslint ./src ./test",
"lint-fix": "eslint --fix ./src",
"clean": "rm -fr dist manual-tests/main.js",
"build": "npm run clean && npm run build-umd && npm run build-cjs && npm run build-esm",
"build-umd": "webpack --entry ./src/index.js --mode=production",
"build-umd-dev": "webpack --entry ./src/index.js --mode=development",
"build-cjs": "BABEL_ENV=commonjs babel src/* --out-dir dist/cjs --copy-files",
"build-esm": "BABEL_ENV=esmodules babel src/* --out-dir dist/esm --copy-files",
"prepublishOnly": "npm run test-ci && npm run build",
"prepare-mtests": "npm run build-umd && cp ./dist/main.js ./manual-tests"
},
"repository": "git+https://github.com/cy6erskunk/svg-crowbar.git",
"keywords": [
"svg-crowbar",
"png-crowbar"
],
"author": "Igor Shevchenko <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/cy6erskunk/svg-crowbar/issues"
},
"homepage": "https://svg-crowbar.js.org/",
"devDependencies": {
"@babel/cli": "7.14.8",
"@babel/core": "7.15.0",
"@babel/preset-env": "7.15.0",
"@cyberskunk/eslint-config": "1.0.0",
"@jest-runner/electron": "3.0.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"electron": "13.1.8",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"jest": "26.6.3",
"prettier": "2.3.2",
"webpack": "5.48.0",
"webpack-cli": "4.7.2"
},
"jest": {
"setupFiles": [
"<rootDir>/test/setup.js"
]
}
}