Convert the project to a composer-project
This commit is contained in:
parent
5ebc689c95
commit
6e424a7710
6 changed files with 3721 additions and 22 deletions
12
.gulp/TaskFunction.ts
Normal file
12
.gulp/TaskFunction.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { TaskFunction } from "gulp";
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
declare global
|
||||
{
|
||||
interface Function extends TaskFunction
|
||||
{ }
|
||||
}
|
||||
|
||||
export {};
|
|
@ -1,13 +1,53 @@
|
|||
{
|
||||
"name": "manuth/mantra",
|
||||
"version": "0.0.0",
|
||||
"description": "A SilverStripe-theme called \"mantra\".",
|
||||
"type": "silverstripe-theme",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Manuel Thalmann",
|
||||
"email": "m@nuth.ch"
|
||||
}
|
||||
],
|
||||
"require": {}
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"SilverStripe",
|
||||
"Theme",
|
||||
"m@nuth",
|
||||
"mantra"
|
||||
],
|
||||
"repositories": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/manuth/mantra.git"
|
||||
}
|
||||
],
|
||||
"homepage": "https://github.com/manuth/mantra#readme",
|
||||
"scripts-descriptions": {
|
||||
"initialize": "Initializes the project."
|
||||
},
|
||||
"scripts": {
|
||||
"initialize": "npm run initialize"
|
||||
},
|
||||
"require": {},
|
||||
"require-dev": {
|
||||
"neronmoon/scriptsdev": "^0.1.6"
|
||||
},
|
||||
"archive": {
|
||||
"exclude": [
|
||||
"/*.tar",
|
||||
".gitignore",
|
||||
"gulpfile.ts",
|
||||
"node_modules/",
|
||||
"package-lock.json",
|
||||
"package.json"
|
||||
]
|
||||
},
|
||||
"extra": {
|
||||
"scripts-dev": {
|
||||
"post-install-cmd": [
|
||||
"npm install"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
68
composer.lock
generated
Normal file
68
composer.lock
generated
Normal file
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "22068a23fc6b360469aeccc3a344ead6",
|
||||
"packages": [],
|
||||
"packages-dev": [
|
||||
{
|
||||
"name": "neronmoon/scriptsdev",
|
||||
"version": "v0.1.6",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/neronmoon/scriptsdev.git",
|
||||
"reference": "360c69ea37ff5a46d8c45feaacc16bcf4f936058"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/neronmoon/scriptsdev/zipball/360c69ea37ff5a46d8c45feaacc16bcf4f936058",
|
||||
"reference": "360c69ea37ff5a46d8c45feaacc16bcf4f936058",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"composer-plugin-api": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"composer/composer": "~1.0@dev"
|
||||
},
|
||||
"type": "composer-plugin",
|
||||
"extra": {
|
||||
"class": "ScriptsDev\\Plugin"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"ScriptsDev\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Vitaliy Krasnoperov",
|
||||
"email": "alistar.neron@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "Scripts-dev behaviour for Composer",
|
||||
"homepage": "https://github.com/neronmoon/scriptsdev",
|
||||
"keywords": [
|
||||
"commands",
|
||||
"commands execution",
|
||||
"composer",
|
||||
"dev",
|
||||
"scripts"
|
||||
],
|
||||
"time": "2019-02-28T14:36:45+00:00"
|
||||
}
|
||||
],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": [],
|
||||
"platform-dev": []
|
||||
}
|
11
gulpfile.ts
Normal file
11
gulpfile.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import "./.gulp/TaskFunction";
|
||||
|
||||
/**
|
||||
* Initializes the project.
|
||||
*/
|
||||
export function Initialize(done: () => void)
|
||||
{
|
||||
done();
|
||||
}
|
||||
|
||||
Initialize.description = "Initializes the project.";
|
3580
package-lock.json
generated
Normal file
3580
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
28
package.json
28
package.json
|
@ -1,25 +1,13 @@
|
|||
{
|
||||
"name": "mantra",
|
||||
"version": "0.0.0",
|
||||
"description": "A SilverStripe-theme called \"mantra\".",
|
||||
"author": "Manuel Thalmann <m@nuth.ch>",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"SilverStripe",
|
||||
"Theme",
|
||||
"m@nuth",
|
||||
"mantra"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.nuth.ch/manuth/mantra.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://git.nuth.ch/manuth/mantra/issues"
|
||||
},
|
||||
"homepage": "https://git.nuth.ch/manuth/mantra#readme",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"initialize": "gulp Initialize"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {}
|
||||
"devDependencies": {
|
||||
"@types/gulp": "^4.0.6",
|
||||
"gulp": "^4.0.2",
|
||||
"ts-node": "^8.4.1",
|
||||
"typescript": "^3.6.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue