forked from PrismJS/prism
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
119 lines (119 loc) · 3.03 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "prism-esm",
"version": "1.29.0-fix.5",
"description": "A prism fork intended for ESM",
"type": "module",
"main": "prism.js",
"module": "prism.js",
"style": "themes/prism.css",
"engines": {
"node": ">=6"
},
"exports": {
".": "./prism.js",
"./prism.js": "./prism.js",
"./prism-core.js": "./prism-core.js",
"./components/*": "./components/*",
"./plugins/*": "./plugins/*",
"./themes/*": "./themes/*"
},
"files": [
"components/**/*.js",
"components/**/*.d.ts",
"plugins/**/*.js",
"plugins/**/*.d.ts",
"themes/*.css",
"prism.js",
"prism.d.ts",
"prism-core.js",
"prism-core.d.ts"
],
"scripts": {
"benchmark": "node benchmark/benchmark.js",
"build": "gulp",
"clean": "rimraf prism-core.d.ts && rimraf prism.d.ts && rimraf -g \"./components/**/*.d.ts\"",
"build:types": "npm run clean && tsc",
"prepublishOnly": "npm run build:types",
"start": "http-server -c-1",
"lint": "eslint . --cache",
"lint:fix": "npm run lint -- --fix",
"lint:ci": "eslint . --max-warnings 0",
"regex-coverage": "mocha tests/coverage.js",
"test:aliases": "mocha tests/aliases-test.js",
"test:core": "mocha tests/core/**/*.js",
"test:dependencies": "mocha tests/dependencies-test.js",
"test:examples": "mocha tests/examples-test.js",
"test:identifiers": "mocha tests/identifier-test.js",
"test:languages": "mocha tests/run.js",
"test:patterns": "mocha tests/pattern-tests.js",
"test:plugins": "web-test-runner tests/plugins/**/*.js --node-resolve",
"test:runner": "mocha tests/testrunner-tests.js",
"test": "npm-run-all test:*"
},
"repository": {
"type": "git",
"url": "https://github.com/PrismJS/prism.git"
},
"keywords": [
"prism",
"highlight"
],
"author": "Lea Verou",
"license": "MIT",
"readmeFilename": "README.md",
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@types/node-fetch": "^2.5.5",
"@web/test-runner": "^0.18.0",
"@web/test-runner-playwright": "^0.11.0",
"benchmark": "^2.1.4",
"danger": "^10.5.0",
"del": "^4.1.1",
"docdash": "^1.2.0",
"eslint": "^7.22.0",
"eslint-plugin-jsdoc": "^32.3.0",
"eslint-plugin-regexp": "^1.6.0",
"gulp": "^4.0.2",
"gulp-clean-css": "^4.3.0",
"gulp-concat": "^2.3.4",
"gulp-header": "^2.0.7",
"gulp-jsdoc3": "^3.0.0",
"gulp-rename": "^1.2.0",
"gulp-replace": "^1.0.0",
"gulp-terser": "^2.1.0",
"gzip-size": "^5.1.1",
"htmlparser2": "^4.0.0",
"http-server": "^0.12.3",
"jsdom": "^16.7.0",
"mocha": "^9.2.2",
"node-fetch": "^3.1.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"pump": "^3.0.0",
"refa": "^0.9.1",
"regexp-ast-analysis": "^0.2.4",
"regexpp": "^3.2.0",
"scslre": "^0.1.6",
"simple-git": "^3.3.0",
"typescript": "^5.6.2",
"webfont": "^9.0.0",
"yargs": "^17.7.2"
},
"jspm": {
"main": "prism",
"registry": "jspm",
"jspmPackage": true,
"format": "esm",
"files": [
"components/**/*.js",
"components/**/*.d.ts",
"plugins/**/*.js",
"plugins/**/*.d.ts",
"themes/*.css",
"prism.js",
"prism.d.ts",
"prism-core.js",
"prism-core.d.ts"
]
}
}