-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
73 lines (73 loc) · 2.01 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
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "typescript-library-starter",
"version": "1.0.0",
"description": "Typescript library starter supports dual es module / commonjs",
"keywords": [
"es modules",
"typescript library"
],
"license": "BSD-2-Clause",
"author": "Kris Selden <kris.selden@gmail.com>",
"files": [
"src",
"dist",
"!dist/**/*.d.ts.map",
"docs"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/typescript-library-starter.d.ts",
"scripts": {
"docs": "api-extractor run --typescript-compiler-folder ./node_modules/typescript && api-documenter markdown -i ./temp -o ./docs",
"lint": "npm-run-all lint:*",
"lint:eslint": "eslint .",
"lint:tsc-src": "tsc --noEmit",
"lint:tsc-tests": "tsc -p test --noEmit",
"prepack": "yarn docs",
"prepare": "tsc && rollup -c rollup.config.js",
"start": "serve",
"test": "npm-run-all lint test:coverage",
"test:coverage": "c8 mocha"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.12.7",
"@microsoft/api-extractor": "^7.12.7",
"@types/chai": "^4.2.11",
"@types/mocha": "^8.2.0",
"@types/node": "^14.0.9",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"c8": "^7.1.2",
"chai": "^4.2.0",
"eslint": "^7.1.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-simple-import-sort": "^7.0.0",
"mocha": "^8.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"rollup": "^2.12.1",
"rollup-plugin-sourcemaps": "^0.6.2",
"serve": "^11.3.1",
"ts-node": "^9.1.1",
"typescript": "~4.1.3"
},
"engines": {
"node": ">= 12.*"
},
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"mocha": {
"spec": "test/**/*test.js"
},
"volta": {
"node": "15.8.0",
"yarn": "1.22.10"
}
}