-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
35 lines (35 loc) · 1.4 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
{
"name": "moki.codes",
"description": "moki.codes source",
"license": "BSD-3-Clause",
"author": "Kirill Morozov (moki) <[email protected]>",
"repository": "[email protected]:moki/moki.codes.git",
"scripts": {
"server": "modd -f dev.conf",
"build:clean": "rm -rf ./dist ./build && mkdir -p ./dist/static",
"build:esbuild": "yarn esbuild --bundle --outfile=dist/static/index.min.js --jsx-factory=h --jsx-fragment=Fragment --loader:.css=text --minify --define:process.env.NODE_ENV=\"production\" ./src/index.tsx",
"build:babel": "yarn babel dist/static/index.min.js --out-file build/static/index.min.js",
"build:static": "cp -r ./static ./build/ && cp src/index.html build/index.html",
"build": "yarn && yarn build:clean && yarn build:esbuild && yarn build:babel && yarn build:static"
},
"private": true,
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@types/node": "^14.14.14",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"babel-preset-minify": "^0.5.1",
"esbuild": "^0.8.26",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-react": "^7.18.3",
"preact": "^10.4.1",
"prettier": "^2.2.1",
"typescript": "^4.1.3",
"wouter-preact": "^2.4.0"
},
"dependencies": {}
}