-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
97 lines (97 loc) · 2.32 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "xspattern",
"version": "3.1.0",
"description": "XML Schema pattern (regular expression) matcher",
"author": "Stef Busking",
"license": "MIT",
"keywords": [
"xml",
"schema",
"regex",
"regular expression",
"xsd",
"pattern",
"xs:pattern"
],
"main": "./dist/xspattern.umd.cjs",
"module": "./dist/xspattern.esm.js",
"type": "module",
"exports": {
".": {
"import": "./dist/xspattern.esm.js",
"require": "./dist/xspattern.umd.cjs",
"default": "./dist/xspattern.esm.js"
}
},
"types": "./dist/xspattern.d.ts",
"scripts": {
"build:clean": "rimraf dist && rimraf lib && rimraf src/generated",
"build:dirs": "mkdirp lib src/generated",
"build:unicodedata": "ts-node scripts/buildUnicodeDb.ts",
"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:dirs build:unicodedata 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/xspattern.js"
},
"dependencies": {
"whynot": "^5.0.0"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.17.19",
"@microsoft/api-extractor": "^7.25.2",
"@types/jest": "^28.1.3",
"@types/node": "^18.0.0",
"@zoltu/typescript-transformer-append-js-extension": "^1.0.1",
"copyfiles": "^2.4.1",
"fontoxpath": "^3.26.1",
"jest": "^28.1.1",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prsc": "^4.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.75.7",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"slimdom-sax-parser": "^1.5.3",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.1",
"typescript": "^4.7.4"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(\\.(tests))\\.(ts|js|cjs)$",
"moduleFileExtensions": [
"cjs",
"ts",
"tsx",
"js",
"json",
"jsx"
],
"collectCoverageFrom": [
"src/**/*.ts"
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4,
"useTabs": true
}
}