-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.44 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
{
"name": "swiftvg",
"version": "1.0.0",
"description": "Convert SVG path data to a Swift 3 UIBezierPath",
"main": "index.js",
"bin": "./bin/cmd.js",
"engines": {
"node": ">= 4.0.0"
},
"scripts": {
"build": "npm run build:browser && npm run build:site",
"build:browser": "browserify index.js -s swiftvg | terser -c > bundle.js ",
"build:site": "browserify site/main.js -s swiftvg | terser -c > site/bundle.js ",
"test": "npm run test:coverage",
"test:coverage": "nyc --reporter=lcov --reporter=text npm run test:unit",
"test:unit": "mocha test.js",
"jekyll": "npm run build && bundle exec jekyll serve"
},
"keywords": [
"swift",
"svg",
"path",
"bezier",
"curve",
"arc",
"uibezierpath",
"uikit"
],
"author": "Mike Engel <[email protected]>",
"license": "MIT",
"dependencies": {
"parse-svg-path": "^0.1.2",
"ramda": "^0.27.0",
"terser": "^4.6.7"
},
"devDependencies": {
"browserify": "^16.5.0",
"chai": "^4.0.1",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"mocha": "^7.1.1",
"nyc": "^15.0.0",
"prettier": "^2.0.0"
},
"prettier": {
"useTabs": true
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,md,json}": [
"prettier --write",
"git add"
]
},
"nyc": {
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100
}
}