@contentful/node-apps-toolkit
Advanced tools
Comparing version 0.1.4 to 1.0.1
@@ -16,4 +16,3 @@ { | ||
"gitRevision": "master", | ||
"theme": "minimal" | ||
"mode": "file" | ||
} | ||
@@ -8,2 +8,3 @@ "use strict"; | ||
* Synchronously sign the given privateKey into a JSON Web Token string | ||
* @internal | ||
*/ | ||
@@ -10,0 +11,0 @@ const generateOneTimeToken = (privateKey, { appId, keyId }, { log }) => { |
{ | ||
"name": "@contentful/node-apps-toolkit", | ||
"version": "0.1.4", | ||
"version": "1.0.1", | ||
"description": "A collection of helpers and utilities for creating NodeJS Contentful Apps", | ||
@@ -11,3 +11,3 @@ "main": "lib/index.js", | ||
"test:unit": "mocha -r dotenv/config -r ts-node/register ./src/**/*.spec.ts", | ||
"test:integration": "mocha -r dotenv/config -r ts-node/register ./test/**/*.test.ts", | ||
"test:integration": "mocha -r dotenv/config -r ts-node/register --timeout 10000 ./test/**/*.test.ts", | ||
"test": "npm run test:unit && npm run test:integration", | ||
@@ -14,0 +14,0 @@ "build": "npm run build:lib && npm run build:docs", |
@@ -11,3 +11,3 @@ Node Apps Toolkit | ||
``` | ||
npm install --save contentful-node-apps-toolkit | ||
npm install --save @contentful/node-apps-toolkit | ||
``` | ||
@@ -18,3 +18,3 @@ | ||
```js | ||
const {getManagementToken} = require('contentful-node-apps-toolkit'); | ||
const {getManagementToken} = require('@contentful/node-apps-toolkit'); | ||
const {appInstallationId, spaceId, privateKey} = require('./some-constants'); | ||
@@ -38,2 +38,2 @@ | ||
> In order to run integration tests all the environment variables present in | ||
[`.env.tpl`](./.env.tpl) must be provided. | ||
[`.env.tpl`](./.env.tpl) must be provided. |
@@ -19,5 +19,6 @@ { | ||
"strict": true, | ||
"pretty": true | ||
"pretty": true, | ||
"declaration": true | ||
}, | ||
"include": ["./src/**/*"] | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
23420
32
294
1
37