mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Created cli command. Updated tracker script.
This commit is contained in:
parent
49a55b40b4
commit
a6975ecedd
9 changed files with 120 additions and 35 deletions
18
package.json
18
package.json
|
|
@ -2,7 +2,6 @@
|
|||
"name": "umami",
|
||||
"version": "0.1.0",
|
||||
"description": "Deliciously simple website stats",
|
||||
"main": "index.js",
|
||||
"author": "Mike Cao <mike@mikecao.com>",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/mikecao/umami",
|
||||
|
|
@ -10,14 +9,18 @@
|
|||
"type": "git",
|
||||
"url": "https://github.com/mikecao/umami.git"
|
||||
},
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"umami": "cli/index.js"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "next dev -p 8000",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"build-script": "rollup -c",
|
||||
"build-schema": "prisma introspect",
|
||||
"build-client": "prisma generate",
|
||||
"create-account": "node scripts/create-account.js"
|
||||
"build-tracker": "rollup -c",
|
||||
"build-schema": "dotenv prisma introspect",
|
||||
"build-client": "dotenv prisma generate",
|
||||
"create-account": "node cli/create-account.js"
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*.js": [
|
||||
|
|
@ -36,6 +39,7 @@
|
|||
"dependencies": {
|
||||
"@prisma/client": "2.2.2",
|
||||
"bcrypt": "^5.0.0",
|
||||
"chalk": "^4.1.0",
|
||||
"chart.js": "^2.9.3",
|
||||
"classnames": "^2.2.6",
|
||||
"cookie": "^0.4.1",
|
||||
|
|
@ -56,7 +60,8 @@
|
|||
"react-dom": "16.13.1",
|
||||
"request-ip": "^2.1.3",
|
||||
"unfetch": "^4.1.0",
|
||||
"uuid": "^8.2.0"
|
||||
"uuid": "^8.2.0",
|
||||
"yargs": "^15.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@prisma/cli": "2.2.2",
|
||||
|
|
@ -64,6 +69,7 @@
|
|||
"@rollup/plugin-node-resolve": "^8.4.0",
|
||||
"@rollup/plugin-replace": "^2.3.3",
|
||||
"@svgr/webpack": "^5.4.0",
|
||||
"dotenv-cli": "^3.2.0",
|
||||
"eslint": "^7.2.0",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
"eslint-plugin-prettier": "^3.1.3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue