Skip to content

Commit 3f80334

Browse files
authored
Merge pull request #14 from TrigenSoftware/enhancement/trigen-scripts
trigen scripts
2 parents dbe42ac + 40cc782 commit 3f80334

File tree

16 files changed

+3618
-2798
lines changed

16 files changed

+3618
-2798
lines changed

.babelrc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@
66
"env": {
77
"test": {
88
"presets": [
9-
["babel-preset-trigen", {
10-
"targets": { "node": "current" },
11-
"commonjs": true
12-
}]
9+
[
10+
"babel-preset-trigen",
11+
{
12+
"targets": {
13+
"node": "current"
14+
},
15+
"commonjs": true
16+
}
17+
]
1318
]
1419
}
1520
}

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ charset = utf-8
66
trim_trailing_whitespace = true
77
insert_final_newline = true
88

9-
[package.json]
9+
[{package.json,manifest.json,*.yml}]
1010
indent_style = space
1111
indent_size = 2
1212

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ node_modules
4343
# Compiled dist
4444
lib
4545
package
46+
build
47+
48+
.env
4649

4750
# Test artifacts
4851
test/artifacts/*

.lintstagedrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"src/**/*.js": ["eslint --cache", "git add"]
2+
"src/**/*.{js,jsx}": [
3+
"trigen-scripts lint:js",
4+
"git add"
5+
]
36
}

.size-limit

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
[{
2-
path: "lib/index.js",
3-
limit: "7.5 KB",
4-
webpack: false
5-
}]
1+
[
2+
{
3+
"path": "lib/index.js",
4+
"limit": "7.5 KB",
5+
"webpack": false,
6+
"running": false
7+
}
8+
]

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- "node"
3+
- "lts/*"
44
cache:
55
directories:
66
- node_modules

.trigenscriptsrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[
2+
"@trigen/scripts-plugin-eslint",
3+
"@trigen/scripts-plugin-jest",
4+
"@trigen/scripts-plugin-babel",
5+
"@trigen/scripts-plugin-rollup",
6+
"@trigen/scripts-preset-lib",
7+
"@trigen/scripts-plugin-size-limit"
8+
]

.yo-rc.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"generator-trigen-lib": {
3+
"editPackage": true,
4+
"pkg": {
5+
"name": "@flexis/srcset-loader",
6+
"version": "1.0.0",
7+
"description": "Highly customizable loader to generating responsive images.",
8+
"repository": "https://github.com/TrigenSoftware/flexis-srcset-loader",
9+
"author": "dangreen"
10+
},
11+
"type": "node",
12+
"lang": "babel",
13+
"rollup": true,
14+
"jest": true,
15+
"coverage": false,
16+
"publishAsRoot": false,
17+
"cleanPublish": true,
18+
"checkSize": true
19+
}
20+
}

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
<!--
9+
10+
DO NOT TOUCH. SAVE IT ON TOP.
11+
12+
## [semver] - date
13+
### Added
14+
- ...
15+
16+
### Changed
17+
- ...
18+
19+
### Fixed
20+
- ...
21+
22+
### Removed
23+
- ...
24+
25+
-->
26+
827
## [1.0.0] - 2019-01-04
928
### Added
1029
- 🦄

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 - present, TrigenSoftware
3+
Copyright (c) 2018 - present, TrigenSoftware
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)