-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ffe-decorators-react): Import ffe-decorators-react
- Loading branch information
Kristofer Selbekk
committed
Jan 10, 2018
1 parent
e9f19dc
commit e70646b
Showing
12 changed files
with
106 additions
and
171 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
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
{ | ||
"extends": "eslint-config-ffe", | ||
"parser": "babel-eslint", | ||
"env": { | ||
"browser": true | ||
} | ||
} | ||
"overrides": [ | ||
{ | ||
"files": [ "src/**/*.spec.js"], | ||
"env": { | ||
"jest": true | ||
} | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
git-tag-version=false | ||
registry=***REMOVED*** | ||
package-lock=false |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,64 +1,53 @@ | ||
{ | ||
"name": "ffe-decorators-react", | ||
"version": "1.0.0", | ||
"description": "", | ||
"scripts": { | ||
"build": "babel -d lib/ src/", | ||
"watch": "onchange 'src/**.js' -- npm run build", | ||
"lint": "eslint src/ test/", | ||
"lint:fix": "eslint --fix src/ test/", | ||
"test": "npm run test:spec && npm run test:nsp", | ||
"test:nsp": "nsp check", | ||
"test:spec": "mocha -G --compilers js:babel-core/register --require ./test/setup.test.js test/**/*.test.js", | ||
"test:watch": "npm run tdd", | ||
"tdd": "mocha -G --compilers js:babel-core/register --require ./test/setup.test.js test/**/*.test.js -w", | ||
"prepublish": "npm run build", | ||
"has-published": "npm show . versions -s --json | grep -q \\\"${npm_package_version}\\\"" | ||
}, | ||
"keywords": [ | ||
"ffe" | ||
], | ||
"peerDependencies": { | ||
"react": "^15.4.2" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.23.0", | ||
"babel-core": "^6.23.1", | ||
"babel-eslint": "^7.1.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"babel-polyfill": "^6.23.0", | ||
"babel-preset-latest": "^6.22.0", | ||
"babel-preset-react": "^6.23.0", | ||
"babel-register": "^6.23.0", | ||
"enzyme": "^2.7.1", | ||
"eslint": "^3.17.1", | ||
"eslint-config-ffe": "^6.0.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-jsx-a11y": "^3.0.2", | ||
"eslint-plugin-react": "^6.10.0", | ||
"expect.js": "^0.3.1", | ||
"install": "^0.8.7", | ||
"jsdom": "^9.11.0", | ||
"mocha": "^3.2.0", | ||
"nsp": "^2.6.3", | ||
"onchange": "3.2.1", | ||
"react": "^15.4.2", | ||
"react-addons-test-utils": "^15.4.2", | ||
"react-dom": "^15.4.2", | ||
"sinon": "^1.17.7" | ||
}, | ||
"files": [ | ||
"lib", | ||
"*.js" | ||
], | ||
"main": "lib/index.js", | ||
"author": "SpareBank 1", | ||
"repository": { | ||
"type": "git", | ||
"url": "***REMOVED***" | ||
}, | ||
"publishConfig": { | ||
"registry": "***REMOVED***" | ||
}, | ||
"license": "ISC" | ||
"name": "ffe-decorators-react", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "lib/index.js", | ||
"author": "SpareBank 1", | ||
"license": "UNLICENSED", | ||
"scripts": { | ||
"build": "babel -d lib/ src/", | ||
"watch": "onchange 'src/**.js' -- npm run build", | ||
"lint": "eslint src/", | ||
"lint:fix": "eslint --fix src/", | ||
"test": "npm run test:spec && npm run test:nsp", | ||
"test:nsp": "nsp check", | ||
"test:spec": "jest", | ||
"test:watch": "npm run tdd", | ||
"tdd": "jest --watch" | ||
}, | ||
"keywords": ["ffe"], | ||
"peerDependencies": { | ||
"react": "^15.4.2 || ^16.0.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.23.0", | ||
"babel-core": "^6.23.1", | ||
"babel-eslint": "^7.1.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"babel-polyfill": "^6.23.0", | ||
"babel-preset-latest": "^6.22.0", | ||
"babel-preset-react": "^6.23.0", | ||
"babel-register": "^6.23.0", | ||
"enzyme": "^3.3.0", | ||
"enzyme-adapter-react-16": "^1.1.1", | ||
"eslint": "^3.17.1", | ||
"jest": "^22.0.5", | ||
"mock-raf": "^1.0.0", | ||
"nsp": "^2.6.3", | ||
"onchange": "3.2.1", | ||
"react": "^16.2.0", | ||
"react-addons-test-utils": "^15.6.2", | ||
"react-dom": "^16.2.0", | ||
"sinon": "^1.17.7" | ||
}, | ||
"files": ["lib", "*.js"], | ||
"repository": { | ||
"type": "git", | ||
"url": | ||
"***REMOVED***" | ||
}, | ||
"jest": { | ||
"setupTestFrameworkScriptFile": "./test-setup.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
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,4 @@ | ||
import Enzyme from 'enzyme'; | ||
import Adapter from 'enzyme-adapter-react-16'; | ||
|
||
Enzyme.configure({ adapter: new Adapter() }); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.