generated from KB1RD/kb1rd-ts-lib-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 2.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
{
"name": "@anchor-logoot/listdocumentmodel",
"version": "0.1.0",
"description": "An ordered list CRDT, duplications allowed.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"author": "Nathan Pennie <kb1rd@kb1rd.net> [@kb1rd:kb1rd.net]",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "git://github.com/anchor-logoot/listdocumentmodel.git"
},
"scripts": {
"check-types": "tsc --noEmit",
"check-types:watch": "yarn run type-check -- --watch",
"build": "yarn run lint && yarn run build:types && yarn run build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:docs": "typedoc --mode modules --out .jsdoc src/",
"build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
"lint": "eslint src/*",
"test": "yarn run test:unit; yarn run test:practical",
"test:unit": "mocha --require ./test/babel-register.js --colors ./test/*.spec.ts",
"test:watch": "mocha --require ./test/babel-register.js --colors -w ./test/*.spec.ts",
"test:cover": "cross-env NODE_ENV=test nyc mocha --require ./test/babel-register.js --require source-map-support/register --recursive --colors ./test/*.spec.ts",
"test:perf": "rm -rf .flamegraph; mkdir .flamegraph; for FILE in $(find test/*.perf.js); do 0x -D ./.flamegraph/$FILE -os --title \"$(node $FILE --name)\" $FILE; done",
"test:practical": "mocha --require ./test/babel-register.js --timeout 20000 --colors ./test/*.practical.ts"
},
"devDependencies": {
"0x": "^4.10.2",
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@babel/register": "^7.10.5",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.11",
"@types/mocha": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"babel-eslint": "^10.1.0",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-prettier": "^3.1.4",
"mocha": "^8.0.1",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"random": "^2.2.0",
"typedoc": "^0.19.2",
"typescript": "^3.7.5"
},
"dependencies": {
"@anchor-logoot/dtst-js": "^0.1.1",
"core-js": "^3.8.2"
}
}