-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.59 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
{
"name": "graph-fns",
"version": "0.4.0",
"description": "A utility library for working with graphs.",
"repository": "github:haydn/graph-fns",
"keywords": [
"graph",
"utility",
"graph theory",
"networks"
],
"main": "cjs/index.js",
"author": "Haydn Ewers",
"license": "MIT",
"private": false,
"engines": {
"node": ">=20"
},
"scripts": {
"build": "yarn build:dec && yarn build:cjs && yarn build:umd && yarn build:esm && cp ./dec/* ./",
"build:dec": "tsc --project ./tsconfig.dec.json && flowgen ./dec/index.d.ts -o ./dec/index.js.flow",
"build:cjs": "tsc --project ./tsconfig.cjs.json",
"build:umd": "tsc --project ./tsconfig.umd.json",
"build:esm": "tsc --project ./tsconfig.esm.json",
"release": "echo 'Use \"npm exec np\" to create a release.'",
"test": "prettier -c {src,tests}/**/*.ts **/*.md && tsc && tape tests/**/*.js",
"version": "yarn build"
},
"files": [
"index.d.ts",
"index.js.flow",
"cjs/index.js",
"umd/index.js",
"esm/index.js",
"LICENSE",
"README.md"
],
"devDependencies": {
"@types/node": "^14.14.12",
"@types/tape": "^4.13.0",
"flowgen": "^1.13.0",
"np": "^9.2.0",
"prettier": "^2.2.1",
"tape": "^5.0.1",
"typescript": "^5.3.3"
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "never",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
}