ed-mathml2tex 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "ed-mathml2tex",
3
+ "version": "0.0.1",
4
+ "description": "Convert mathml to latex.",
5
+ "author": "Mika",
6
+ "license": "MIT",
7
+ "keywords": [
8
+ "converter",
9
+ "mathml",
10
+ "latex"
11
+ ],
12
+ "homepage": "https://github.com/mika-cn/mathml2latex",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/mika-cn/mathml2latex.git"
16
+ },
17
+ "bugs": {
18
+ "url": "https://github.com/mika-cn/mathml2latex/issues"
19
+ },
20
+ "main": "lib/mathml2latex.cjs.js",
21
+ "module": "lib/mathml2latex.es.js",
22
+ "types": "lib/mathml2latex.d.ts",
23
+ "browser": {
24
+ "domino": false,
25
+ "./lib/mathml2latex.cjs.js": "./lib/mathml2latex.browser.cjs.js",
26
+ "./lib/mathml2latex.es.js": "./lib/mathml2latex.browser.es.js",
27
+ "./lib/mathml2latex.umd.js": "./lib/mathml2latex.browser.umd.js"
28
+ },
29
+ "dependencies": {
30
+ "domino": "^2.1.6"
31
+ },
32
+ "devDependencies": {
33
+ "@rollup/plugin-commonjs": "^11.0.2",
34
+ "@rollup/plugin-node-resolve": "^7.1.1",
35
+ "@rollup/plugin-replace": "^2.3.1",
36
+ "rollup": "^1.32.0",
37
+ "tape": "^4.11.0"
38
+ },
39
+ "files": [
40
+ "lib",
41
+ "dist"
42
+ ],
43
+ "scripts": {
44
+ "prebuild": "if exist dist rmdir /s /q dist",
45
+ "build": "npm run build-cjs && npm run build-es && npm run build-umd && npm run build-iife && npm run build-types && npm run copy-files",
46
+ "build-cjs": "rollup -c config/rollup.config.cjs.js && rollup -c config/rollup.config.browser.cjs.js",
47
+ "build-es": "rollup -c config/rollup.config.es.js && rollup -c config/rollup.config.browser.es.js",
48
+ "build-umd": "rollup -c config/rollup.config.umd.js && rollup -c config/rollup.config.browser.umd.js",
49
+ "build-iife": "rollup -c config/rollup.config.iife.js",
50
+ "build-types": "if not exist dist\\lib mkdir dist\\lib && copy src\\mathml2latex.d.ts dist\\lib\\",
51
+ "copy-files": "copy README.md dist\\ && copy package.json dist\\ && copy src\\mathml2latex.d.ts dist\\ && copy src\\mathml2latex.ts dist\\",
52
+ "test": "npm run build && tape test/test-*.js"
53
+ }
54
+ }