-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.8 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
{
"name": "next-prism",
"version": "0.5.0",
"description": "A lightweight, robust, and elegant syntax highlighting component for your next React apps.",
"author": "Bunlong <bunlong.van@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Bunlong/next-prism.git"
},
"bugs": {
"url": "https://github.com/Bunlong/next-prism.git/issues"
},
"keywords": [
"react",
"reactjs",
"prism",
"highlight",
"next-prism",
"react-prism"
],
"homepage": "https://github.com/Bunlong/next-prism",
"main": "dist/next-prism.js",
"style": "themes/prism.css",
"module": "dist/next-prism.es.js",
"jsnext:main": "dist/next-prism.es.js",
"types": "dist/next-prism.d.ts",
"@comment unpkg": "dist/next-prism.umd.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"@test": "jest --runInBand",
"build": "rollup -c",
"prettier": "prettier --write './src/*.ts' './src/**/*.ts' './src/**/*.tsx' --config ./.prettierrc",
"lint:check": "eslint ./src --ext .tsx,.ts --report-unused-disable-directives",
"bundlesize": "npm run build && bundlesize",
"dev": "rollup -c -w",
"prepare": "npm run build",
"predeploy": "cd docs && npm install && npm run build",
"deploy": "gh-pages -d docs/build"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/preset-env": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@types/prismjs": "^1.26.0",
"@types/react": "^18.0.10",
"@types/react-dom": "^18.0.5",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"bundlesize": "^0.18.1",
"canvas": "^2.10.1",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^27.1.0",
"mutationobserver-shim": "^0.3.7",
"prettier": "^2.3.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-scripts": "^5.0.1",
"react-test-renderer": "^18.1.0",
"rollup": "^2.56.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1",
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typescript": "^4.7.2"
},
"files": [
"dist",
"themes/*.css",
"plugins/**/*"
],
"dependencies": {
"prismjs": "^1.29.0"
},
"bundlesize": [
{
"path": "./dist/*.js",
"maxSize": "21 kB"
},
{
"path": "./dist/**/*.js",
"maxSize": "21 kB"
},
{
"path": "./dist/*.ts",
"maxSize": "750 B"
},
{
"path": "./dist/**/*.ts",
"maxSize": "770 B"
}
],
"peerDependencies": {
"react": ">=17.0.0"
}
}