Skip to content

Commit

Permalink
Merge pull request #66 from ara-framework/fix/add-default-data
Browse files Browse the repository at this point in the history
fix: set default data in script tag
  • Loading branch information
marconi1992 authored Feb 27, 2020
2 parents f9db69c + c214cb1 commit a1b3ee8
Show file tree
Hide file tree
Showing 11 changed files with 163 additions and 7,437 deletions.
76 changes: 76 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:10.19

working_directory: ~/nova-react-bridge

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: yarn install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# run linter
- run: yarn lint

# run tests
- run: yarn test

publish:
docker:
# specify the version you desire here
- image: circleci/node:10.19

working_directory: ~/nova-react-bridge

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: yarn install

- run: yarn build

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# run linter
- run: yarn semantic-release

workflows:
version: 2
main:
jobs:
- build
- publish:
requires:
- build
filters:
branches:
only: master
4 changes: 4 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"env": {
"jest": true,
"browser": true
},
"extends": "airbnb"
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ node_modules
yarn.lock
yarn-error.log
lib
package-lock.lock
package-lock.json
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules
**/*.spec.js
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
setupFiles: [
'./setupTests.js',
],
};
Loading

0 comments on commit a1b3ee8

Please sign in to comment.