Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
sudo: false
language: node_js
node_js:
- "node"
install:
- npm prune
- npm install
- lerna exec 'npm install'
script:
- npm run lint
- npm run test:coverage
- npm run build
2 changes: 1 addition & 1 deletion jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
snapshotSerializers: ["enzyme-to-json/serializer"],
setupFiles: ["./setupTests.js"],
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
collectCoverage: true,
collectCoverage: false,
coveragePathIgnorePatterns: [
"^setupTests.js$",
"(tests/.*.mock).(jsx?|tsx?)$"
Expand Down
40 changes: 40 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
"private": true,
"scripts": {
"test": "cross-env NODE_ENV=test jest",
"test:coverage": "cross-env NODE_ENV=test jest --coverage --coverageReporters=text-lcov | coveralls",
"format": "lerna run format",
"build": "lerna run build",
"build:dev": "lerna run build:dev",
"build:prod": "lerna run build:prod",
"lint": "lerna run lint",
"commit": "git-cz"
},
"author": "Martin Spencer <[email protected]>",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "github:1xINTERNET/drupal-editable"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
Expand All @@ -22,6 +29,7 @@
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"classnames": "^2.2.6",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"emotion": "^9.2.10",
Expand Down