Skip to content

Commit 283bce0

Browse files
author
Eric Prud'hommeaux
committed
~ follow highlightjs#2328#issuecomment-568559006
highlightjs/highlight.js#2328 (comment)
1 parent 30414ea commit 283bce0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"name": "highlightjs-shexc",
3-
"version": "1.0.0",
3+
"version": "0.1.0",
44
"description": "Shape Expressions Compact Syntax (ShExC) syntax highlighting plugin for highlight.js",
5-
"main": "shexc.js",
5+
"main": "src/shexc.js",
6+
"files": [
7+
"dist/shexc.min.js"
8+
],
69
"scripts": {
7-
"test": "./node_modules/.bin/mocha --reporter spec"
10+
"minify": "cat src/shexc.js | minify --js > dist/shexc.min.js",
11+
"test": "mocha --reporter spec"
812
},
913
"repository": {
1014
"type": "git",
@@ -25,6 +29,7 @@
2529
"homepage": "https://github.com/highlightjs/highlightjs-shexc#readme",
2630
"devDependencies": {
2731
"highlightjs": "^9.10.0",
32+
"minify": "^5.0.0",
2833
"mocha": "^5.2.0",
2934
"should": "^13.2.3"
3035
}

shexc.js renamed to src/shexc.js

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)