Skip to content

Commit

Permalink
renamed package
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrv committed Feb 19, 2021
1 parent 9f2c0a1 commit a3ed5f7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "cljs-express",
"version": "1.0.0",
"name": "sindicato-ufm",
"version": "4.0.0",
"description": "",
"main": "index.js",
"main": "out/main.js",
"scripts": {
"build": "clj -m cljs.main --target node --output-to out/main.js -c web-app.core",
"build": "clj -m cljs.main --target node --output-to out/main.js -c sindicato-ufm.core",
"start": "node ./out/main.js",
"start:live": "nodemon"
},
Expand All @@ -21,7 +21,7 @@
"ext": "cljs"
},
"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {
"express": "^4.17.1",
"hbs": "^4.1.1",
Expand Down
6 changes: 3 additions & 3 deletions src/sindicato-ufm/core.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(ns web-app.core
(ns sindicato-ufm.core
(:require
[web-app.routes.users :as users]
[web-app.routes.index :as index]))
[sindicato-ufm.routes.users :as users]
[sindicato-ufm.routes.index :as index]))

(def express (js/require "express"))
(def logger (js/require "morgan"))
Expand Down
2 changes: 1 addition & 1 deletion src/sindicato-ufm/routes/index.cljs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns web-app.routes.index)
(ns sindicato-ufm.routes.index)
(def express (js/require "express"))
(def router (.Router express))

Expand Down
2 changes: 1 addition & 1 deletion src/sindicato-ufm/routes/users.cljs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns web-app.routes.users)
(ns sindicato-ufm.routes.users)
(def express (js/require "express"))
(def router (.Router express))

Expand Down

0 comments on commit a3ed5f7

Please sign in to comment.