-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
56 lines (56 loc) · 1.88 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
{
"name": "@lume/kiwi",
"description": "High speed Cassowary constraint solver in JavaScript.",
"version": "0.4.4",
"homepage": "https://github.com/lume/kiwi",
"repository": "https://github.com/lume/kiwi",
"type": "module",
"main": "dist/kiwi.js",
"types": "dist/kiwi.d.ts",
"keywords": [
"cassowary",
"kiwi",
"kiwi.js",
"constraint solver",
"autolayout"
],
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/lume/kiwi/issues"
},
"files": [
"src",
"dist",
"COPYING.txt"
],
"// Note, we pinned jsdoc to 3.6.1 to prevent an in-range breaking change, https://github.com/jsdoc/jsdoc/issues/1977": "",
"devDependencies": {
"benchmark": "^2.1.4",
"cassowary": "0.0.2",
"chai": "^4.2.0",
"codecov": "^3.5.0",
"istanbul": "^0.4.5",
"jsdoc-to-markdown": "^4.0.1",
"mocha": "^9.0.0",
"prettier": "3.0.3",
"rimraf": "^3.0.2",
"rollup": "4.1.4",
"typescript": "^5.0.0"
},
"scripts": {
"build": "tsc",
"clean": "rimraf dist/ tmp/",
"test": "npm run lint && mocha test/main.js",
"format": "npm run prettier",
"prettier": "prettier . --write",
"lint": "prettier . --check",
"// TODO cov script not currently collecting coverage information although it runs": "",
"cov": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -R test/main.js",
"doc": "rollup -c && jsdoc2md -f tmp/kiwi.js -m none -g none > docs/Kiwi.md && node scripts/docs-update-headings.js && prettier docs/Kiwi.md --write",
"bench": "node bench/main.js",
"version": "npm run clean && npm run build && npm test && npm run bench && git add .",
"release:patch": "npm version --no-workspaces patch -m 'v%s' && npm publish && git push --follow-tags",
"release:minor": "npm version --no-workspaces minor -m 'v%s' && npm publish && git push --follow-tags",
"release:major": "npm version --no-workspaces major -m 'v%s' && npm publish && git push --follow-tags"
}
}