-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.77 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 3.77 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "@deliberative/utils",
"description": "Utility functions for the deliberative ledger protocol for nodejs and the browser.",
"version": "0.2.1",
"repository": {
"type": "git",
"url": "https://github.com/deliberative/utils.git"
},
"author": {
"name": "Deliberative Technologies P.C.",
"email": "security@deliberative.io",
"url": "https://github.com/deliberative"
},
"contributors": [
{
"name": "Dimitris Karoukis",
"email": "dim@deliberative.io",
"url": "https://www.dkaroukis.com"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/deliberative/utils/issues"
},
"keywords": [
"deliberative",
"deliberative democracy",
"democracy",
"libp2p",
"tweetnacl",
"shamir secret sharing",
"shamir",
"distributed ledger",
"crypto",
"typescript",
"rollup"
],
"homepage": "https://github.com/deliberative/utils#readme",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"browser": "lib/index.min.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"node": {
"module": "./lib/index.node.mjs",
"require": "./lib/index.cjs",
"import": "./lib/index.node.mjs"
},
"browser": {
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
},
"default": "./lib/index.min.js"
},
"./package.json": "./package.json"
},
"files": [
"lib/**/*"
],
"scripts": {
"start": "cross-env NODE_ENV=development rollup -c -w",
"wasm": "cross-env NODE_ENV=production node scripts/compileMethods.js",
"wasm:debug": "cross-env NODE_ENV=development node scripts/compileMethods.js",
"valgrind": "node scripts/testWithValgrind.js",
"code": "cross-env NODE_ENV=production rollup -c",
"code:debug": "cross-env NODE_ENV=development rollup -c",
"build": "npm-run-all -s wasm code",
"postbuild": "node scripts/post.js",
"build:debug": "npm-run-all -s wasm:debug code:debug postbuild",
"jest": "jest --config jest.config.json",
"test": "npm-run-all -s wasm jest",
"preformat": "clang-format-all src/",
"format": "prettier --write src __tests__ examples/js",
"lint": "eslint --ext .js,.ts src __tests__",
"prepublishOnly": "npm-run-all -s lint test build",
"preversion": "npm-run-all -s lint format",
"docs": "typedoc --out docs --excludeInternal src/index.ts"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.0.1",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.2.1",
"@rollup/plugin-url": "^7.0.0",
"@rollup/plugin-wasm": "^5.1.2",
"@types/emscripten": "^1.39.6",
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.0.1",
"eslint-plugin-jsdoc": "^39.2.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"jest": "^29.0.2",
"jest-badges": "^0.1.3",
"jest-environment-jsdom": "^29.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.1",
"rollup": "^2.52.2",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"terser": "^5.10.0",
"ts-jest": "^29.0.0-next.1",
"tslib": "^2.3.1",
"typedoc": "^0.23.14",
"typescript": "^4.3.4"
},
"engines": {
"node": ">=18",
"npm": ">=8"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}