File tree Expand file tree Collapse file tree 7 files changed +96
-0
lines changed
Expand file tree Collapse file tree 7 files changed +96
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "extends": "@hapi/hapi",
3+
4+ "parserOptions": {
5+ "ecmaVersion": 2019
6+ }
7+ }
Original file line number Diff line number Diff line change 1+ ** /node_modules
2+ ** /package-lock.json
3+ ** /npm-shrinkwrap.json
4+
5+ coverage. *
6+ * .log *
7+ test-results.xml
8+
9+ ** /.DS_Store
10+ ** /._ *
11+
12+ ** /* .pem
13+
14+ ** /.vs
15+ ** /.vscode
16+ ** /.idea
Original file line number Diff line number Diff line change 1+ package-lock = false
Original file line number Diff line number Diff line change 1+ language : node_js
2+ sudo : false
3+
4+ node_js :
5+ - " 10"
6+ - " 12"
7+ - " 13"
8+
9+ cache :
10+ npm : false
11+
12+ install :
13+ - " npm install --ignore-scripts"
14+ - " npx allow-scripts"
15+
16+ # @todo uncomment before v1
17+ # jobs:
18+ # include:
19+ # - stage: release
20+ # if: branch = master AND type = push
21+ # node_js: "12"
22+ # deploy:
23+ # provider: "script"
24+ # skip_cleanup: true
25+ # script:
26+ # - "npx semantic-release"
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ module . exports = ( ) => {
4+
5+ throw new Error ( 'Not implemented' ) ;
6+ } ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " node-support" ,
3+ "version" : " 0.0.0-development" ,
4+ "description" : " List the Node.js versions supported by the package/repository" ,
5+ "main" : " lib/index.js" ,
6+ "scripts" : {
7+ "test" : " lab -a @hapi/code -L -t 100"
8+ },
9+ "repository" : {
10+ "type" : " git" ,
11+ "url" : " git+https://github.com/pkgjs/node-support.git"
12+ },
13+ "author" : " Dominykas Blyžė <hello@dominykas.com>" ,
14+ "license" : " MIT" ,
15+ "bugs" : {
16+ "url" : " https://github.com/pkgjs/node-support/issues"
17+ },
18+ "homepage" : " https://github.com/pkgjs/node-support#readme" ,
19+ "devDependencies" : {
20+ "@hapi/code" : " ^7.0.0" ,
21+ "@hapi/lab" : " ^21.0.0" ,
22+ "allow-scripts" : " ^1.5.2" ,
23+ "semantic-release" : " ^15.14.0"
24+ }
25+ }
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ const NodeSupport = require ( '..' ) ;
4+
5+
6+ const { describe, it } = exports . lab = require ( '@hapi/lab' ) . script ( ) ;
7+ const { expect } = require ( '@hapi/code' ) ;
8+
9+ describe ( 'node-support' , ( ) => {
10+
11+ it ( 'is not implemented' , ( ) => {
12+
13+ expect ( NodeSupport ) . to . throw ( 'Not implemented' ) ;
14+ } ) ;
15+ } ) ;
You can’t perform that action at this time.
0 commit comments