-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.07 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
{
"name": "nkb",
"version": "1.6.2",
"description": "JS function library, each function is a few KB in size",
"type": "module",
"types": "./*.d.ts",
"scripts": {
"build": "yarn prepare && yarn build:1kb && yarn build:2kb",
"prepare": "node script/prepare.cjs",
"build:1kb": "tsc && rm 1kb/_type.js && yarn beautify && yarn translate",
"build:2kb": "rollup 1kb/*.js --config rollup.config.js --silent",
"beautify": "js-beautify 1kb/*.js -s 2 -r -n -q",
"translate": "node script/translateComment.cjs",
"test": "mocha test/*.test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/1144/nkb.git"
},
"keywords": [
"1kb",
"2kb",
"nkb"
],
"engines": {
"node": ">= 12.0.0"
},
"author": "https://github.com/1144",
"license": "MIT",
"bugs": {
"url": "https://github.com/1144/nkb/issues"
},
"homepage": "https://github.com/1144/nkb#readme",
"devDependencies": {
"js-beautify": "^1.14.0",
"mocha": "^9.1.2",
"mokdoc": "^0.2.0",
"rollup": "^2.56.3",
"typescript": "^4.4.4"
}
}