-
-
Notifications
You must be signed in to change notification settings - Fork 101
/
package.json
69 lines (69 loc) · 2 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
{
"name": "tikzcd-editor",
"version": "0.9.0",
"description": "A simple editor for creating commutative diagrams.",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/yishn/tikzcd-editor.git"
},
"keywords": [
"math",
"tikzcd",
"tikz",
"latex",
"diagram",
"editor",
"mathematics"
],
"author": "Yichuan Shen",
"license": "MIT",
"homepage": "https://github.com/yishn/tikzcd-editor",
"bugs": {
"url": "https://github.com/yishn/tikzcd-editor/issues"
},
"dependencies": {
"classnames": "^2.2.6",
"copy-text-to-clipboard": "^2.2.0",
"doken": "^1.0.2",
"jsx-tikzcd": "^0.5.1",
"lz-string": "^1.4.4",
"preact": "^10.4.1"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"babel-loader": "^8.1.0",
"concurrently": "^5.3.0",
"copy-dir": "^1.3.0",
"cross-zip": "^3.1.0",
"http-server": "^0.12.3",
"mkdirp": "^1.0.4",
"onchange": "^7.0.2",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"tap": "^14.10.8",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
},
"prettier": {
"semi": false,
"singleQuote": true,
"bracketSpacing": false,
"proseWrap": "always",
"arrowParens": "avoid",
"trailingComma": "none"
},
"scripts": {
"start": "http-server",
"test": "cd tests && tap",
"build": "npm run format-base -- --check && webpack --mode production",
"dist": "npm run build && node ./ci/createArtifact.js",
"watch": "concurrently \"webpack --mode development --watch\" \"npm run watch-format\"",
"format-base": "prettier \"**/*.{js,html,md}\" \"!{dist/**,bundle.js*}\"",
"format": "npm run format-base -- --write",
"watch-format": "onchange \"**/*.{js,html,md}\" \"!{dist/**,bundle.js*}\" -- prettier --write {{changed}}"
}
}