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 1818 node-version : 12
1919 - name : Install dependencies
2020 run : npm install
21+ - name : Build
22+ run : npm run build
2123 - name : Release
2224 env :
2325 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2121npm-debug.log *
2222yarn-debug.log *
2323yarn-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 11{
22 "name" : " react-time-series" ,
33 "version" : " 0.1.0" ,
4+ "main" : " dist/components/ReactTimeSeries/index.js" ,
45 "repository" : {
56 "type" : " git" ,
67 "url" : " https://github.com/UniversalDataTool/react-time-series.git"
2930 },
3031 "scripts" : {
3132 "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" ,
3534 "storybook" : " start-storybook -p 6006 -s public" ,
3635 "build-storybook" : " build-storybook -s public"
3736 },
5150 ]
5251 },
5352 "devDependencies" : {
53+ "@babel/cli" : " ^7.12.1" ,
5454 "@babel/core" : " ^7.11.6" ,
55+ "@babel/preset-react" : " ^7.12.1" ,
5556 "@semantic-release/git" : " ^9.0.0" ,
5657 "@storybook/addon-actions" : " ^6.0.25" ,
5758 "@storybook/addon-essentials" : " ^6.0.25" ,
6162 "@storybook/react" : " ^6.0.25" ,
6263 "babel-loader" : " ^8.1.0" ,
6364 "react-is" : " ^16.13.1"
65+ },
66+ "babel" : {
67+ "presets" : [
68+ " @babel/preset-env" ,
69+ " @babel/preset-react"
70+ ]
6471 }
6572}
You can’t perform that action at this time.
0 commit comments