-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 1.71 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
74
75
76
77
{
"name": "prsc",
"version": "4.0.0",
"description": "Tiny parser combinators library",
"author": "Stef Busking",
"license": "MIT",
"keywords": [
"parser",
"combinators"
],
"main": "./dist/prsc.umd.cjs",
"module": "./dist/prsc.esm.js",
"type": "module",
"exports": {
".": {
"import": "./dist/prsc.esm.js",
"require": "./dist/prsc.umd.cjs",
"default": "./dist/prsc.esm.js"
}
},
"types": "dist/prsc.d.ts",
"scripts": {
"build:clean": "rimraf dist && rimraf lib && rimraf temp",
"build:bundle": "tsc -P tsconfig.build.json && rollup -c",
"build:api": "api-extractor run",
"build:api-copy": "copyfiles --flat temp/* api",
"build:docs": "api-documenter markdown -i api -o docs",
"build": "npm-run-all build:clean build:bundle build:api build:api-copy build:docs",
"prepare": "npm run build",
"test": "jest --coverage --verbose"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/bwrrp/prsc.js"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.17.18",
"@microsoft/api-extractor": "^7.25.1",
"@types/jest": "^28.1.1",
"copyfiles": "^2.4.1",
"jest": "^28.1.1",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^2.75.6",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^28.0.5",
"typescript": "^4.7.3"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(\\.(tests))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"jsx"
],
"collectCoverageFrom": [
"src/**/*.ts"
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4,
"useTabs": true
}
}