-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 186d2f1
Showing
9 changed files
with
3,657 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["@babel/preset-env"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: ['nicenice'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.DS_STORE | ||
*.log | ||
|
||
lib/ | ||
node_modules | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
test/ | ||
src/ | ||
yarn.lock | ||
.babelrc | ||
.eslintrc.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"name": "@anvilco/anvil", | ||
"version": "1.0.0", | ||
"description": "Anvil API Client", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "mocha --require test/environment.js 'test/**/*.test.js'", | ||
"build": "babel src --out-dir lib", | ||
"prepare": "yarn build" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/anvilco/node-anvil.git" | ||
}, | ||
"keywords": [ | ||
"pdf", | ||
"pdf-fill" | ||
], | ||
"author": "Anvil Foundry Inc.", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/anvilco/node-anvil/issues" | ||
}, | ||
"homepage": "https://github.com/anvilco/node-anvil#readme", | ||
"devDependencies": { | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.8.4", | ||
"@babel/polyfill": "^7.8.3", | ||
"@babel/preset-env": "^7.8.4", | ||
"@babel/register": "^7.8.3", | ||
"babel-eslint": "^10.0.3", | ||
"chai": "^4.2.0", | ||
"eslint": "6.5.1", | ||
"eslint-config-nicenice": "^2.0.0", | ||
"eslint-config-standard": "^14.1.0", | ||
"eslint-config-standard-jsx": "^8.1.0", | ||
"eslint-plugin-import": "^2.20.0", | ||
"eslint-plugin-no-only-tests": "^2.4.0", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-react": "^7.18.0", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"mocha": "^7.0.1", | ||
"sinon": "^8.1.1", | ||
"sinon-chai": "^3.4.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export default class Anvil { | ||
constructor () { | ||
this.thing = 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require('@babel/register')({ | ||
ignore: [/node_modules/], | ||
}) | ||
|
||
require('@babel/polyfill') | ||
var sinon = require('sinon') | ||
var chai = require('chai') | ||
var sinonChai = require('sinon-chai') | ||
|
||
chai.use(sinonChai) | ||
|
||
global.chai = chai | ||
global.sinon = sinon | ||
global.expect = chai.expect | ||
global.should = chai.should() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Anvil from '../src/index' | ||
|
||
describe('thing', function () { | ||
it('does the thing', async function () { | ||
expect(Anvil).to.be.ok | ||
}) | ||
}) |
Oops, something went wrong.