-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.11 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.11 KB
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
{
"name": "whynot",
"version": "5.0.0",
"description": "Generic VM-based structure matching framework",
"author": "Stef Busking <[email protected]>",
"contributors": [
"Martin Middel <[email protected]>"
],
"license": "MIT",
"keywords": [
"Language",
"Matching",
"Regex",
"Structure"
],
"main": "./dist/whynot.umd.cjs",
"module": "./dist/whynot.esm.js",
"type": "module",
"exports": {
".": {
"import": "./dist/whynot.esm.js",
"require": "./dist/whynot.umd.cjs",
"default": "./dist/whynot.esm.js"
}
},
"types": "dist/whynot.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/whynot.js"
},
"devDependencies": {
"@fontoxml/fonto-benchmark-runner": "0.1.0",
"@microsoft/api-documenter": "^7.17.19",
"@microsoft/api-extractor": "^7.25.2",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/glob": "^7.2.0",
"@types/jest": "^28.1.3",
"@types/node-static": "^0.7.7",
"concurrently": "^7.2.2",
"copyfiles": "^2.4.1",
"glob": "^8.0.3",
"jest": "^28.1.1",
"node-static": "^0.7.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prsc": "^4.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.75.7",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "~28.0.5",
"typescript": "^4.7.4"
},
"jest": {
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(\\.(tests))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"jsx"
],
"collectCoverageFrom": [
"src/**/*.ts"
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4,
"useTabs": true
}
}