forked from PrismJS/prism
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.35 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.35 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "prismjs",
"version": "1.29.0",
"description": "Lightweight, robust, elegant syntax highlighting.",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"types": "./types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/cjs/index.js"
},
"./shared": {
"types": "./types/shared.d.ts",
"import": "./dist/shared.js",
"require": "./dist/cjs/shared.js"
},
"./languages/*": {
"types": "./types/languages/*.d.ts",
"import": "./dist/languages/*.js",
"require": "./dist/cjs/languages/*.js"
},
"./themes/*": "./dist/themes/*.css",
"./components.json": "./dist/components.json"
},
"style": "themes/prism.css",
"engines": {
"node": ">=18"
},
"scripts": {
"benchmark": "tsx benchmark/benchmark.ts",
"build": "tsx scripts/build.ts",
"lint": "eslint . --cache",
"lint:fix": "npm run lint -- --fix",
"lint:ci": "eslint . --max-warnings 0",
"regex-coverage": "mocha tests/coverage.ts",
"test:components": "mocha tests/components-test.ts",
"test:core": "mocha tests/core/**/*.ts",
"test:identifiers": "mocha tests/identifier-test.ts",
"test:languages": "mocha tests/run.ts",
"test:patterns": "mocha tests/pattern-tests.ts",
"test:plugins": "mocha tests/plugins/**/*.ts",
"test:runner": "mocha tests/testrunner-tests.ts",
"test": "npm-run-all test:*",
"tsc": "tsc && tsc -p tests/tsconfig.json"
},
"repository": {
"type": "git",
"url": "https://github.com/PrismJS/prism.git"
},
"keywords": [
"prism",
"highlight"
],
"author": "Lea Verou",
"license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/prismjs"
},
"readmeFilename": "README.md",
"devDependencies": {
"@eslint/js": "^9.24.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
"@prettier/sync": "^0.5.2",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@types/benchmark": "^2.1.2",
"@types/chai": "^5.2.1",
"@types/clean-css": "^4.2.11",
"@types/jsdom": "^21.1.7",
"@types/mocha": "^10.0.10",
"@types/node": "^22.15.2",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.30.1",
"@typescript-eslint/parser": "^8.30.1",
"benchmark": "^2.1.4",
"chai": "^5.2.0",
"clean-css": "^5.3.3",
"cross-fetch": "^4.1.0",
"danger": "^13.0.4",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-jsdoc": "^50.6.9",
"eslint-plugin-regexp": "^2.7.0",
"globals": "^16.0.0",
"gzip-size": "^7.0.0",
"htmlparser2": "^10.0.0",
"jsdom": "^24.1.3",
"magic-string": "^0.30.17",
"mocha": "^10.8.2",
"mocha-chai-jest-snapshot": "^1.1.6",
"npm-run-all": "^4.1.5",
"prettier": "^3.5.3",
"prettier-plugin-brace-style": "^0.7.3",
"prettier-plugin-merge": "^0.7.4",
"prettier-plugin-space-before-function-paren": "^0.0.8",
"refa": "^0.9.1",
"regexp-ast-analysis": "^0.5.1",
"regexpp": "^3.2.0",
"rollup": "^4.40.0",
"scslre": "^0.3.0",
"simple-git": "^3.27.0",
"tsx": "^4.19.3",
"typescript": "^5.8.3",
"webfont": "^11.2.26",
"yargs": "^17.7.2"
},
"jspm": {
"main": "prism",
"registry": "jspm",
"jspmPackage": true,
"format": "global",
"files": [
"components/**/*.js",
"plugins/**/*",
"themes/*.css",
"prism.js"
]
}
}