File tree Expand file tree Collapse file tree 5 files changed +283
-7
lines changed Expand file tree Collapse file tree 5 files changed +283
-7
lines changed Original file line number Diff line number Diff line change 18
18
node-version : 12
19
19
- name : Install dependencies
20
20
run : npm install
21
+ - name : Build
22
+ run : npm run build
21
23
- name : Release
22
24
env :
23
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 21
21
npm-debug.log *
22
22
yarn-debug.log *
23
23
yarn-error.log *
24
+ dist
Original file line number Diff line number Diff line change
1
+ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
+
3
+ # dependencies
4
+ /node_modules
5
+ /.pnp
6
+ .pnp.js
7
+
8
+ # testing
9
+ /coverage
10
+
11
+ # production
12
+ /build
13
+
14
+ # misc
15
+ .DS_Store
16
+ .env.local
17
+ .env.development.local
18
+ .env.test.local
19
+ .env.production.local
20
+
21
+ npm-debug.log *
22
+ yarn-debug.log *
23
+ yarn-error.log *
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-time-series" ,
3
3
"version" : " 0.1.0" ,
4
+ "main" : " dist/components/ReactTimeSeries/index.js" ,
4
5
"repository" : {
5
6
"type" : " git" ,
6
7
"url" : " https://github.com/UniversalDataTool/react-time-series.git"
29
30
},
30
31
"scripts" : {
31
32
"start" : " react-scripts start" ,
32
- "build" : " react-scripts build" ,
33
- "test" : " react-scripts test" ,
34
- "eject" : " react-scripts eject" ,
33
+ "build" : " babel src --out-dir dist" ,
35
34
"storybook" : " start-storybook -p 6006 -s public" ,
36
35
"build-storybook" : " build-storybook -s public"
37
36
},
51
50
]
52
51
},
53
52
"devDependencies" : {
53
+ "@babel/cli" : " ^7.12.1" ,
54
54
"@babel/core" : " ^7.11.6" ,
55
+ "@babel/preset-react" : " ^7.12.1" ,
55
56
"@semantic-release/git" : " ^9.0.0" ,
56
57
"@storybook/addon-actions" : " ^6.0.25" ,
57
58
"@storybook/addon-essentials" : " ^6.0.25" ,
61
62
"@storybook/react" : " ^6.0.25" ,
62
63
"babel-loader" : " ^8.1.0" ,
63
64
"react-is" : " ^16.13.1"
65
+ },
66
+ "babel" : {
67
+ "presets" : [
68
+ " @babel/preset-env" ,
69
+ " @babel/preset-react"
70
+ ]
64
71
}
65
72
}
You can’t perform that action at this time.
0 commit comments