-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
59 lines (59 loc) · 1.25 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
{
"name": "hanabi",
"productionName": "Hanabi: Highlight any code, in a colorful way",
"version": "0.4.0",
"description": "Highlight any code, in a colorful way.",
"repository": {
"url": "egoist/hanabi",
"type": "git"
},
"main": "dist/hanabi.js",
"files": [
"dist"
],
"scripts": {
"test": "jest && npm run lint && npm run build",
"lint": "xo",
"build": "bili --format umd --module-name hanabi --compress",
"example": "vbuild example/index.js -d",
"build:example": "vbuild example/index.js --dist dist-example",
"deploy": "npm run build:example && gh-pages -d dist-example"
},
"author": "egoist <[email protected]>",
"license": "MIT",
"jest": {
"testEnvironment": "node"
},
"babel": {
"babelrc": false,
"env": {
"test": {
"presets": [
"es2015"
]
}
}
},
"devDependencies": {
"babel-preset-es2015": "^6.24.0",
"bili": "^0.14.0",
"gh-pages": "^0.12.0",
"jest-cli": "^19.0.2",
"raw-loader": "^0.5.1",
"vbuild": "^6.24.3",
"xo": "^0.17.1"
},
"xo": {
"space": 2,
"semicolon": false,
"envs": [
"jest"
],
"ignores": [
"example/**"
]
},
"dependencies": {
"comment-regex": "^1.0.0"
}
}