Skip to content

Commit 7149212

Browse files
authored
Merge pull request #16 from TrigenSoftware/enhancement/trigen-scripts
trigen scripts
2 parents 4409ee4 + c8428c2 commit 7149212

17 files changed

+3452
-2414
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: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,19 @@ node_modules
3333
# Optional REPL history
3434
.node_repl_history
3535

36-
# OS X stuff
36+
# OS stuff
37+
._*
3738
.DS_Store
3839

3940
# Some caches
40-
.eslintcache
41+
.*cache
4142

4243
# Compiled dist
4344
lib
45+
package
46+
build
47+
48+
.env
4449

4550
# Test artifacts
4651
test/artifacts/*
47-

.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: "8 KB",
4-
webpack: false
5-
}]
1+
[
2+
{
3+
"path": "lib/index.js",
4+
"limit": "8 KB",
5+
"webpack": false,
6+
"running": false
7+
}
8+
]

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: node_js
22
node_js:
3-
- "node"
3+
- "lts/*"
4+
- "8"
45
cache:
56
directories:
67
- 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-babel",
3+
"@trigen/scripts-plugin-eslint",
4+
"@trigen/scripts-plugin-jest",
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/workbox-webpack-plugin",
6+
"version": "1.0.0-beta",
7+
"description": "Webpack plugin to generate and inject precache manifest to ServiceWorker.",
8+
"repository": "https://github.com/TrigenSoftware/flexis-workbox-webpack-plugin",
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-02-12
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) 2019 - 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)