forked from arnog/mathlive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
137 lines (137 loc) · 4.44 KB
/
package.json
File metadata and controls
137 lines (137 loc) · 4.44 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "mathlive",
"version": "0.35.1",
"description": "Render and edit beautifully typeset math",
"license": "MIT",
"funding": {
"type": "patreon",
"url": "https://patreon.com/arnog"
},
"repository": {
"type": "git",
"url": "https://github.com/arnog/mathlive.git"
},
"keywords": [
"math",
"editor",
"javascript",
"math-editing",
"latex",
"tex",
"mathjax",
"katex",
"mathquill"
],
"files": [
"/dist"
],
"main": "./dist/mathlive.js",
"types": "./dist/mathlive.d.ts",
"scripts": {
"clean": "rimraf build dist docs",
"build-js": "rollup --config",
"watch-js": "rollup --config --watch",
"build-corecss": "lessc css/mathlive.core.less dist/mathlive.core.css",
"build-othercss": "lessc css/mathlive.less dist/mathlive.css",
"build-postcss": "postcss dist/*.css -d dist",
"build-css": "npm-run-all -s build-corecss build-othercss build-postcss",
"watch-css": "chokidar \"css/*.less\" --initial -c \"npm run build-css -s\"",
"build-ts-types": "jsdoc -t node_modules/tsd-jsdoc/dist -d ./build -a public -r ./src/",
"build": "npm-run-all build-css build-ts-types build-js",
"watch": "npm-run-all -p watch-*",
"http-server": "http-server . -c-1 --cors='*' -o examples/index.html",
"start": "npm-run-all -p watch-js watch-css http-server",
"lint": "prettier --ignore-path ./.prettierignore --write \"**/*.{ts,js,css,md,yml,json}\" \"!dist/**\" \"!docs/**\" \"!examples/**\"",
"test": "tape -r @babel/register test/* | tap-spec",
"watch-test": "chokidar \"src/*.js\" -c \"npm run test -s\" ",
"coverage": "nyc npm run babel-node ./test/test.js && nyc report",
"coverage:report": "nyc report",
"prepare": "",
"docs": "jsdoc -c ./jsdoc.conf.json && printf \"docs.mathlive.io\" > docs/CNAME",
"watch-docs": "chokidar \"src/*.js\" \"tutorials/*.md\" \"examples/*.md\" -c \"npm run docs -s\"",
"dist": "npm-run-all -s clean build docs",
"deploy": "bash ./scripts/deploy",
"deploy-ci": "bash ./scripts/deploy-ci"
},
"prettier": "@cortex-js/prettier-config",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"/src/**/*.js": [
"eslint --fix",
"git add"
],
"/src/**/*.{js,css,json,less}": [
"prettier --write",
"git add"
],
"/*.md": [
"prettier --write",
"git add"
]
},
"nyc": {
"exclude": [
"test",
"**/debug.js",
"dist",
"build"
],
"report-dir": "./build/coverage",
"reporter": "html"
},
"engines": {
"npm": ">=6.13",
"node": ">=10.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"maintained node versions",
"not dead"
],
"author": "Arno Gourdol <arno@arno.org>",
"contributors": [
"Louis Larpin (lilfaf.github.io)",
"Neil Soiffer (https://github.com/NSoiffer)",
"Jason Boxman (https://github.com/jboxman)",
"Synergy Codes (https://www.synergycodes.com/)",
"Rafał Piekarski (https://github.com/rpdiss)"
],
"bugs": "https://github.com/arnog/mathlive/issues/",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/register": "^7.9.0",
"@cortex-js/prettier-config": "^1.0.0",
"autoprefixer": "^9.7.5",
"chokidar-cli": "^2.1.0",
"cssnano": "^4.1.10",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-watch": "^6.0.1",
"http-server": "^0.12.1",
"husky": "^4.2.3",
"jsdoc": "^3.6.3",
"less": "^3.11.1",
"lint-staged": "^10.0.9",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"postcss-cli": "^7.1.0",
"prettier": "^2.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.2.0",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-terser": "^5.3.0",
"sutro-jsdoc-theme": "^1.0",
"tap-spec": "^5.0.0",
"tape": "^4.13.2",
"tsd-jsdoc": "^2.4.0"
},
"dependencies": {}
}