1 | {
|
2 | "name": "vue-prism-component",
|
3 | "version": "2.0.0",
|
4 | "description": "vue component for prism.js",
|
5 | "repository": {
|
6 | "url": "egoist/vue-prism-component",
|
7 | "type": "git"
|
8 | },
|
9 | "homepage": "https://egoistian.com/vue-prism-component/",
|
10 | "main": "dist/vue-prism-component.common.js",
|
11 | "cdn": "dist/vue-prism-component.min.js",
|
12 | "unpkg": "dist/vue-prism-component.min.js",
|
13 | "files": [
|
14 | "dist"
|
15 | ],
|
16 | "scripts": {
|
17 | "test": "echo skip",
|
18 | "lint": "xo",
|
19 | "prepublishOnly": "npm run build",
|
20 | "build": "npm run build:umd && npm run build:cjs",
|
21 | "build:umd": "bili --file-name \"vue-prism-component[min].js\" --format umd --format umd-min --env.NODE_ENV production --module-name PrismComponent --external prismjs --external vue",
|
22 | "build:cjs": "bili --file-name \"vue-prism-component.common.js\" --format cjs"
|
23 | },
|
24 | "author": "egoist <0x142857@gmail.com>",
|
25 | "license": "MIT",
|
26 | "dependencies": {},
|
27 | "devDependencies": {
|
28 | "bili": "^4.9.0",
|
29 | "eslint-config-rem": "^3.0.0",
|
30 | "prismjs": "^1.6.0",
|
31 | "vue": "^3.0.4",
|
32 | "xo": "^0.18.0"
|
33 | },
|
34 | "xo": {
|
35 | "extends": "rem/prettier",
|
36 | "ignores": [
|
37 | "example/**"
|
38 | ],
|
39 | "rules": {
|
40 | "import/prefer-default-export": 0
|
41 | }
|
42 | }
|
43 | }
|