This repository has been archived by the owner on May 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
57 lines (57 loc) · 2.75 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
{
"name": "Miratope",
"version": "0.2.0",
"description": "A renderer for polytopes. Still in alpha.",
"scripts": {
"_bbu": "mkdirp out && echo Running Browserify + Babelify + Uglify... && browserify src/js/main.js -t [ babelify --presets [ @babel/preset-env ] ] | uglifyjs -c toplevel,sequences=true,conditionals=true,booleans=true,if_return=true,join_vars=true,drop_console=true -m > out/main.js && echo Browserify + Babelify + Uglify Done!",
"_b": "mkdirp out && echo Running Browserify... && browserify src/js/main.js -o out/main.js --debug && echo Browserify Done!",
"_c": "echo Copying index.html to the project root folder... && copyfiles -u 1 src/index.html ./ && echo Copying Done!",
"_h": "echo Running HTMLMinifier... && html-minifier --input-dir src --output-dir ./ --file-ext html --minify-js true --minify-css true --minify-urls true --remove-comments --collapse-whitespace && echo HTMLMinifier [main page] Done!",
"_htypedoc": "echo Running HTMLMinifier... && html-minifier --input-dir out/typedoc --output-dir out/typedoc --file-ext html --minify-js true --minify-css true --minify-urls true --remove-comments --collapse-whitespace && echo HTMLMinifier [docs] Done!",
"build": "npm run tsc && npm run _bbu && npm run _h",
"debug": "npm run tsc && npm run _b && npm run _c",
"typedoc": "echo Running TypeDoc... && typedoc src/ts && npm run _htypedoc",
"eslint": "echo Running ESLint... && eslint src/ts/**/*.ts{,x} --fix && echo ESLint Done!",
"tsc": "echo Running TypeScript... && tsc && echo TypeScript Done!",
"fullbuild": "npm run eslint && npm run build && npm run typedoc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/OfficialURL/miratope.git"
},
"author": "Miratope authors",
"license": "MIT",
"bugs": {
"url": "https://github.com/OfficialURL/miratope/issues"
},
"homepage": "https://github.com/OfficialURL/miratope#readme",
"dependencies": {
"globalize": "^1.6.0",
"jszip": "^3.5.0",
"mathjs": "^9.0.0",
"three": "^0.125.0",
"typescript": "^4.1.3"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@types/globalize": "^1.5.0",
"@types/mathjs": "^6.0.11",
"@types/node": "^14.14.22",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.14.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"copyfiles": "^2.4.1",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"html-minifier": "^4.0.0",
"mkdirp": "^1.0.4",
"prettier": "^2.2.1",
"typedoc": "^0.19.2",
"typedoc-plugin-example-tag": "^1.0.2",
"typedoc-plugin-external-module-name": "^4.0.6",
"typedoc-plugin-extras": "^1.1.7"
}
}