-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.72 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.72 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
{
"name": "@heppokofrontend/html-code-block-element",
"description": "Code block custom element with syntax highlighting and copy button.",
"version": "2.0.5",
"author": "heppokofrontend",
"bugs": {
"url": "https://github.com/heppokofrontend/html-code-block-element/issues"
},
"dependencies": {
"highlight.js": "^11.1.0"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.14.8",
"@babel/preset-env": "^7.14.8",
"@babel/preset-typescript": "^7.14.5",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.35",
"@types/react": "^17.0.20",
"@types/react-test-renderer": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.28.5",
"babel-loader": "^8.2.2",
"eslint": "^7.32.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.5.0",
"gh-pages": "^3.2.3",
"jest": "^26.6.3",
"jest-environment-jsdom-global": "^2.0.4",
"license-webpack-plugin": "^2.3.20",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-test-renderer": "^18.2.0",
"run-script-os": "^1.1.6",
"terser-webpack-plugin": "^5.1.4",
"ts-jest": "^26.5.4",
"ts-node": "^9.1.1",
"tsc-alias": "^1.7.0",
"typescript": "^4.7.4",
"webpack": "^5.27.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3"
},
"directories": {
"test": "test"
},
"files": [
"dist",
"lib",
"@types"
],
"homepage": "https://github.com/heppokofrontend/html-code-block-element#readme",
"keywords": [
"code-block",
"code-blocks",
"custom-elements",
"highlight",
"highlight.js",
"syntax-highlighting",
"web-components"
],
"license": "MIT",
"main": "dist/index.common.js",
"repository": {
"type": "git",
"url": "git+https://github.com/heppokofrontend/code-block-element.git"
},
"scripts": {
"build": "npm run tsc:build",
"bundle": "webpack --mode=production",
"clean": "run-script-os",
"clean:default": "rm -rf dist && rm -rf lib",
"clean:win32": "(If exist dist rmdir dist /s /q) && (If exist lib rmdir lib /s /q)",
"deploy:demo": "gh-pages -d demo",
"jest": "jest --coverage --verbose",
"jest:watch": "jest --watch --coverage --verbose",
"lint": "eslint \"./src/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"postbuild": "npm run bundle",
"prebuild": "npm run clean",
"prepublishOnly": "npm run build",
"prestart": "git config commit.template .gitmessage",
"prettier": "prettier --write \"./**/*.{json,js,ts}\"",
"start": "webpack serve --mode=production",
"test": "npm run tsc && npm run lint -- --quiet && npm run jest",
"tsc": "tsc --noEmit",
"tsc:build": "tsc && tsc-alias"
}
}