Initial setup
This commit is contained in:
commit
00cf61455a
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.idea*
|
||||||
|
modules*
|
||||||
|
!modules/.gitkeep
|
||||||
|
extollo*
|
||||||
|
node_modules*
|
45
package.json
Normal file
45
package.json
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"name": "@extollo/dev",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"description": "Scripts to aid development of first-party Extollo modules and the framework itself",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"setup": "pnpm clone:all && pnpm install:all",
|
||||||
|
"clean": "pnpm run clean:all",
|
||||||
|
"clean:all": "pnpm run clean:modules && pnpm run clean:extollo",
|
||||||
|
"clean:modules": "rm -rf modules/lib modules/di modules/orm modules/util modules/cli modules/i18n",
|
||||||
|
"clean:extollo": "rm -rf extollo",
|
||||||
|
"clone:all": "pnpm run clone:lib && pnpm run clone:di && pnpm run clone:util && pnpm run clone:orm && pnpm run clone:cli && pnpm run clone:i18n && pnpm run clone:extollo",
|
||||||
|
"clone:extollo": "git clone https://code.garrettmills.dev/extollo/extollo extollo",
|
||||||
|
"clone:lib": "git clone https://code.garrettmills.dev/extollo/lib modules/lib",
|
||||||
|
"clone:di": "git clone https://code.garrettmills.dev/extollo/di modules/di",
|
||||||
|
"clone:util": "git clone https://code.garrettmills.dev/extollo/util modules/util",
|
||||||
|
"clone:orm": "git clone https://code.garrettmills.dev/extollo/orm modules/orm",
|
||||||
|
"clone:cli": "git clone https://code.garrettmills.dev/extollo/cli modules/cli",
|
||||||
|
"clone:i18n": "git clone https://code.garrettmills.dev/extollo/i18n modules/i18n",
|
||||||
|
"install:all": "pnpm run install:util && pnpm run install:di && pnpm run install:lib && pnpm run install:cli && pnpm run install:orm && pnpm run install:i18n && pnpm run install:extollo",
|
||||||
|
"install:extollo": "cd extollo && cp example.env .env && pnpm i --save @extollo/cli@file:../modules/cli @extollo/orm@file:../modules/orm @extollo/di@file:../modules/di @extollo/lib@file:../modules/lib @extollo/util@file:../modules/util @extollo/i18n@file:../modules/i18n",
|
||||||
|
"install:lib": "cd modules/lib && pnpm i --save @extollo/di@file:../di @extollo/util@file:../util && pnpm run build && cd ../..",
|
||||||
|
"install:di": "cd modules/di && pnpm i --save @extollo/util@file:../util && pnpm run build && cd ../..",
|
||||||
|
"install:util": "cd modules/util && pnpm i && pnpm run build && cd ../..",
|
||||||
|
"install:orm": "cd modules/orm && pnpm i --save @extollo/cli@file:../cli @extollo/di@file:../di @extollo/lib@file:../lib @extollo/util@file:../util && pnpm run build && cd ../..",
|
||||||
|
"install:cli": "cd modules/cli && pnpm i --save @extollo/di@../di @extollo/lib@../lib @extollo/util@../util && pnpm run build && cd ../..",
|
||||||
|
"install:i18n": "cd modules/i18n && pnpm i --save @extollo/cli@file:../cli @extollo/di@file:../di @extollo/lib@file:../lib @extollo/util@file:../util && pnpm run build && cd ../..",
|
||||||
|
"build": "pnpm build:all",
|
||||||
|
"build:all": "pnpm build:util && pnpm build:di && pnpm build:lib && pnpm build:cli && pnpm build:orm && pnpm build:i18n && pnpm build:extollo",
|
||||||
|
"build:extollo": "cd extollo && pnpm run build",
|
||||||
|
"build:lib": "cd modules/lib && pnpm run build",
|
||||||
|
"build:di": "cd modules/di && pnpm run build",
|
||||||
|
"build:util": "cd modules/util && pnpm run build",
|
||||||
|
"build:orm": "cd modules/orm && pnpm run build",
|
||||||
|
"build:cli": "cd modules/cli && pnpm run build",
|
||||||
|
"build:i18n": "cd modules/i18n && pnpm run build"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git@code.garrettmills.dev:extollo/docs.git"
|
||||||
|
},
|
||||||
|
"author": "Garrett Mills <shout@garrettmills.dev>",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user