forked from runarberg/mathup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 3.18 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
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
138
139
140
141
{
"name": "mathup",
"version": "1.0.0-beta.2",
"description": "Easy MathML authoring tool with a quick to write syntax",
"keywords": [
"mathml",
"markup",
"math",
"authoring"
],
"homepage": "https://runarberg.github.io/mathup/",
"bugs": "https://github.com/runarberg/mathup/issues",
"license": "MIT",
"author": "Rúnar Berg Baugsson Sigríðarson <[email protected]>",
"main": "target/node/mathup.cjs",
"module": "target/module/mathup.mjs",
"bin": {
"mathup": "bin/mathup.js"
},
"repository": {
"type": "git",
"url": "https://github.com/runarberg/mathup.git"
},
"scripts": {
"clean": "rm -fr .c8_output dependencies.mjs coverage/ target/",
"server": "python3 -m http.server",
"dependencies": "rollup --config --configDeps",
"lint": "eslint --ext .js --ext .mjs --ext .cjs src/ test/ *.config.js *.src.mjs",
"build": "rollup --config",
"prepare": "npm run build",
"preserver": "npm run dependencies",
"test": "c8 ava",
"test:watch": "ava --watch"
},
"ava": {
"files": [
"test/**/*",
"src/**/*.test.*"
]
},
"babel": {
"plugins": [
"@babel/plugin-transform-runtime"
],
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "12"
}
}
]
]
},
"c8": {
"reporter": [
"html",
"text",
"text-summary"
],
"include": [
"src/**/*.mjs",
"!src/**/*test.mjs"
]
},
"eslintConfig": {
"env": {
"node": true,
"browser": false
},
"parserOptions": {
"ecmaVersion": "2020",
"sourceType": "module"
},
"extends": [
"airbnb-base",
"plugin:ava/recommended",
"plugin:prettier/recommended"
],
"rules": {
"import/extensions": [
"error",
"ignorePackages"
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"*.config.js",
"**/*.test.mjs",
"test/**/*.mjs"
]
}
],
"no-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"no-use-before-define": [
"error",
{
"functions": false
}
]
}
},
"prettier": {
"trailingComma": "all"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/runtime": "^7.9.6",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"ava": "^3.8.1",
"c8": "^7.1.1",
"coveralls": "^3.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-ava": "^10.3.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3",
"expect.js": "^0.3.1",
"jsdom": "^16.2.2",
"prettier": "2.0.5",
"rollup": "^2.7.6",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^5.3.0"
},
"dependencies": {
"minimist": "^1.2.5",
"unicode-properties": "^1.3.1"
}
}