-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
87 lines (87 loc) · 2.96 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
{
"name": "mark-js",
"version": "0.11.1",
"description": "The core library for working with Mark, an unified notation for both object and markup data.",
"main": "mark.js",
"directories": {
"lib": "lib",
"dist": "dist",
"bin": "bin",
"dev": "dev",
"test": "test"
},
"bin": {
"mark": "./bin/mark-bin.js",
"mark-convert": "./bin/mark-convert.js"
},
"scripts": {
"test": "(clear || cls) && tape test/*.js | tap-spec",
"test-dev": "(clear || cls) && tape dev/test/*.js | tap-spec",
"coverage": "istanbul cover -v --config .istanbul.yml node_modules/tape/bin/tape ./test/*.js",
"karma": "(clear || cls) && karma start",
"build": "npm run build-core && npm run build-mark && cp-cli README.md docs/index.md",
"build-core": "browserify -x ./lib/mark.update.js -x ./lib/mark.convert.js -x ./lib/mark.selector.js -x htmlparser2 mark.js | uglifyjs > dist/mark.core.js",
"build-mark": "browserify -x htmlparser2 mark.js | uglifyjs > dist/mark.js",
"build-find": "browserify --full-paths -x debug ./dev/mark.find.js | discify --open",
"list-core": "browserify --full-paths -x ./lib/mark.mutate.js -x ./lib/mark.convert.js -x ./lib/mark.selector.js -x htmlparser2 mark.js | discify --open",
"list-convert": "browserify --full-paths -x htmlparser2 ./lib/mark.convert.js | discify --open",
"list-selector": "browserify --full-paths ./lib/mark.selector.js | discify --open",
"list-mark": "browserify --full-paths -x htmlparser2 mark.js | discify --open",
"benchmark": "node test/perf/benchmark.js",
"gen-grammar-diagram": "cp-cli dev/viewer.html node_modules/grammkit/template/viewer.html && grammkit docs/mark.bnf -o docs/mark-grammar.html"
},
"repository": {
"type": "git",
"url": "git://github.com/henry-luo/mark.git"
},
"keywords": [
"mark",
"markup",
"notation",
"json",
"json5",
"parser",
"stringify",
"html",
"xml",
"jsonml",
"virtual-dom",
"s-expression"
],
"author": "Henry Luo",
"license": "MIT",
"dependencies": {
"commander": "~2.13.0",
"css-select": "~1.3.0-rc0",
"helmsman": "~1.0.3",
"htmlparser2": "~3.9.2"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-plugin-transform-remove-strict-mode": "0.0.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babelify": "^8.0.0",
"benchmark": "^2.1.4",
"cp-cli": "^1.1.0",
"cssauron": "^1.4.0",
"disc": "^1.3.3",
"grammkit": "^0.5.2",
"istanbul": "^0.4.5",
"jsdom": "^11.6.2",
"karma": "^2.0.0",
"karma-browserify": "^5.1.3",
"karma-chrome-launcher": "^2.2.0",
"karma-edge-launcher": "^0.4.2",
"karma-firefox-launcher": "^1.1.0",
"karma-ie-launcher": "^1.0.0",
"karma-tap": "^3.2.1",
"karma-tap-pretty-reporter": "^3.0.5",
"minicat": "^1.0.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.2",
"tap-spec": "^4.1.1",
"tape": "^4.7.0",
"uglify-es": "^3.3.4"
}
}