Skip to content

Commit a1b3ee8

Browse files
authored
Merge pull request #66 from ara-framework/fix/add-default-data
fix: set default data in script tag
2 parents f9db69c + c214cb1 commit a1b3ee8

File tree

11 files changed

+163
-7437
lines changed

11 files changed

+163
-7437
lines changed

.circleci/config.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Javascript Node CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
4+
#
5+
version: 2
6+
jobs:
7+
build:
8+
docker:
9+
# specify the version you desire here
10+
- image: circleci/node:10.19
11+
12+
working_directory: ~/nova-react-bridge
13+
14+
steps:
15+
- checkout
16+
17+
# Download and cache dependencies
18+
- restore_cache:
19+
keys:
20+
- v1-dependencies-{{ checksum "package.json" }}
21+
# fallback to using the latest cache if no exact match is found
22+
- v1-dependencies-
23+
24+
- run: yarn install
25+
26+
- save_cache:
27+
paths:
28+
- node_modules
29+
key: v1-dependencies-{{ checksum "package.json" }}
30+
31+
# run linter
32+
- run: yarn lint
33+
34+
# run tests
35+
- run: yarn test
36+
37+
publish:
38+
docker:
39+
# specify the version you desire here
40+
- image: circleci/node:10.19
41+
42+
working_directory: ~/nova-react-bridge
43+
44+
steps:
45+
- checkout
46+
47+
# Download and cache dependencies
48+
- restore_cache:
49+
keys:
50+
- v1-dependencies-{{ checksum "package.json" }}
51+
# fallback to using the latest cache if no exact match is found
52+
- v1-dependencies-
53+
54+
- run: yarn install
55+
56+
- run: yarn build
57+
58+
- save_cache:
59+
paths:
60+
- node_modules
61+
key: v1-dependencies-{{ checksum "package.json" }}
62+
63+
# run linter
64+
- run: yarn semantic-release
65+
66+
workflows:
67+
version: 2
68+
main:
69+
jobs:
70+
- build
71+
- publish:
72+
requires:
73+
- build
74+
filters:
75+
branches:
76+
only: master

.eslintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2+
"env": {
3+
"jest": true,
4+
"browser": true
5+
},
26
"extends": "airbnb"
37
}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ node_modules
22
yarn.lock
33
yarn-error.log
44
lib
5-
package-lock.lock
5+
package-lock.json

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
node_modules
2+
**/*.spec.js

jest.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
setupFiles: [
3+
'./setupTests.js',
4+
],
5+
};

0 commit comments

Comments
 (0)