Skip to content

Commit c1f8796

Browse files
authored
2.2 (#13)
* Add circle, prep for node 8 transition, switch to jest * Remove unused deps. Add badge * Update prettier * Update package.json * Update to npm ci * Whitelist files
1 parent a8645b3 commit c1f8796

File tree

8 files changed

+184
-186
lines changed

8 files changed

+184
-186
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
- image: circleci/node:8
66
steps:
77
- checkout
8-
- run: npm install
8+
- run: npm ci
99
- run: npm run lint
1010
- persist_to_workspace:
1111
root: ~/

.gitignore

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ Thumbs.db
77
.DS_Store
88

99

10-
11-
1210
####################################
1311
####################################
1412
### Git
@@ -17,30 +15,6 @@ Thumbs.db
1715
*.orig
1816

1917

20-
21-
22-
####################################
23-
####################################
24-
### Sublime Text
25-
####################################
26-
####################################
27-
# cache files for sublime text
28-
*.tmlanguage.cache
29-
*.tmPreferences.cache
30-
*.stTheme.cache
31-
32-
# workspace files are user-specific
33-
*.sublime-workspace
34-
35-
# sublime project files
36-
*.sublime-project
37-
38-
# sftp configuration file
39-
sftp-config.json
40-
41-
42-
43-
4418
####################################
4519
####################################
4620
### Node
@@ -58,13 +32,3 @@ build/Release
5832

5933
# Dependency directory
6034
node_modules
61-
62-
63-
64-
65-
####################################
66-
####################################
67-
### Mocha
68-
####################################
69-
####################################
70-
mocha.json

.npmignore

Whitespace-only changes.

.travis.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[![license](https://img.shields.io/github/license/tclindner/npm-package-json-lint-config-tc.svg?maxAge=2592000&style=flat-square)](https://github.com/tclindner/npm-package-json-lint-config-tc/blob/master/LICENSE)
77
[![npm](https://img.shields.io/npm/v/npm-package-json-lint-config-tc.svg?maxAge=2592000?style=flat-square)](https://www.npmjs.com/package/npm-package-json-lint-config-tc)
8-
[![Travis](https://img.shields.io/travis/tclindner/npm-package-json-lint-config-tc.svg?maxAge=2592000?style=flat-square)](https://travis-ci.org/tclindner/npm-package-json-lint-config-tc)
8+
[![CircleCI](https://circleci.com/gh/tclindner/npm-package-json-lint-config-tc.svg?style=svg)](https://circleci.com/gh/tclindner/npm-package-json-lint-config-tc)
99
[![Dependency Status](https://david-dm.org/tclindner/npm-package-json-lint-config-tc.svg?style=flat-square)](https://david-dm.org/tclindner/npm-package-json-lint-config-tc)
1010
[![devDependency Status](https://david-dm.org/tclindner/npm-package-json-lint-config-tc/dev-status.svg?style=flat-square)](https://david-dm.org/tclindner/npm-package-json-lint-config-tc#info=devDependencies)
1111

index.js

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,19 @@ const config = {
3030
'scripts-type': 'error',
3131
'version-type': 'error',
3232
'valid-values-author': ['error', ['Thomas Lindner']],
33-
'valid-values-engines': ['error', [
34-
{
35-
node: '>=6.0.0',
36-
npm: '>=3.0.0'
37-
},
38-
{
39-
node: '>=8.0.0',
40-
npm: '>=6.0.0'
41-
}
42-
]],
33+
'valid-values-engines': [
34+
'error',
35+
[
36+
{
37+
node: '>=6.0.0',
38+
npm: '>=3.0.0'
39+
},
40+
{
41+
node: '>=8.0.0',
42+
npm: '>=6.0.0'
43+
}
44+
]
45+
],
4346
'valid-values-private': ['error', [false]],
4447
'prefer-no-version-zero-dependencies': 'warning',
4548
'prefer-caret-version-dependencies': 'error',

0 commit comments

Comments
 (0)