Skip to content

Commit b75347f

Browse files
committed
init
Signed-off-by: AIZAWA Hina <[email protected]>
0 parents  commit b75347f

8 files changed

+557
-0
lines changed

.gitignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.DS_Store
2+
.buildpath
3+
.idea
4+
.project
5+
.settings
6+
/.vagrant
7+
/composer.phar
8+
/node_modules/
9+
/phpunit.phar
10+
/phpunit.xml
11+
/tests/_output/*
12+
/tests/_support/_generated
13+
/vendor/
14+
Thumbs.db
15+
nbproject

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015-2018 AIZAWA Hina <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Makefile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.PHONY: all php clean dist-clean
2+
all: php
3+
4+
php: vendor
5+
6+
dist-clean: clean
7+
rm -rf composer.phar vendor node_modules
8+
9+
clean:
10+
11+
vendor: composer.lock composer.phar
12+
COMPOSER_ALLOW_SUPERUSER=1 ./composer.phar install --prefer-dist -vvv
13+
14+
composer.lock: composer.json composer.phar
15+
COMPOSER_ALLOW_SUPERUSER=1 ./composer.phar update --prefer-dist -vvv
16+
17+
composer.json: composer.json5
18+
json5 --space=4 --out-file=$@ $<
19+
20+
composer.phar:
21+
curl -sSL 'https://getcomposer.org/installer' | php -- --stable
22+
touch -r composer.json $@

composer.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "statink/yii2-dseg",
3+
"type": "yii2-extension",
4+
"license": "MIT",
5+
"description": "DSEG asset bundle",
6+
"minimum-stability": "stable",
7+
"require": {
8+
"php": ">= 7.1.0",
9+
"yiisoft/yii2": "~2.0.15",
10+
"npm-asset/dseg": "^0.45"
11+
},
12+
"config": {
13+
"process-timeout": 1800,
14+
"fxp-asset": {
15+
"enabled": false
16+
}
17+
},
18+
"autoload": {
19+
"psr-4": {
20+
"statink\\yii2\\dseg\\": "src"
21+
}
22+
},
23+
"authors": [
24+
{
25+
"name": "AIZAWA Hina",
26+
"email": "[email protected]"
27+
}
28+
],
29+
"repositories": [
30+
{
31+
"type": "composer",
32+
"url": "https://packagist.jp"
33+
},
34+
{
35+
"type": "composer",
36+
"url": "https://asset-packagist.org"
37+
}
38+
]
39+
}

composer.json5

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
name: "statink/yii2-dseg",
3+
type: "yii2-extension",
4+
license: "MIT",
5+
description: "DSEG asset bundle",
6+
"minimum-stability": "stable",
7+
require: {
8+
// env
9+
php: ">= 7.1.0",
10+
11+
// packages
12+
"yiisoft/yii2": "~2.0.15",
13+
14+
// assets
15+
"npm-asset/dseg": "^0.45",
16+
},
17+
config: {
18+
"process-timeout": 1800,
19+
"fxp-asset": {
20+
"enabled": false
21+
}
22+
},
23+
autoload: {
24+
"psr-4": {
25+
"statink\\yii2\\dseg\\": "src",
26+
},
27+
},
28+
authors: [
29+
{
30+
name: "AIZAWA Hina",
31+
32+
},
33+
],
34+
repositories: [
35+
{
36+
type: "composer",
37+
url: "https://packagist.jp",
38+
},
39+
{
40+
type: "composer",
41+
url: "https://asset-packagist.org",
42+
},
43+
],
44+
}

0 commit comments

Comments
 (0)