-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.82 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
{
"name": "pkg-name",
"version": "0.1.0",
"description": "pkg-desc",
"main": "lib/index.js",
"types": "lib/src/index.d.ts",
"typings": "lib/src/index.d.ts",
"author": "Nathan Pennie <kb1rd@kb1rd.net> [@kb1rd:kb1rd.net]",
"license": "LGPL-3.0-or-later",
"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": "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"
},
"devDependencies": {
"@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",
"typedoc": "^0.19.2",
"typescript": "^3.7.5"
}
}