Skip to content

Commit

Permalink
chore: change example to use nebula build
Browse files Browse the repository at this point in the history
  • Loading branch information
Caele committed Sep 23, 2021
1 parent debcdfb commit 3ad9495
Show file tree
Hide file tree
Showing 4 changed files with 3,650 additions and 505 deletions.
6 changes: 3 additions & 3 deletions examples/sn-hello-react/README.md
Expand Up @@ -10,13 +10,13 @@ Install dependencies:
yarn install
```

Watch build:
Build:

```sh
yarn run build:watch
yarn run build
```

Serve build
Watch and Serve build

```sh
yarn run start
Expand Down
23 changes: 7 additions & 16 deletions examples/sn-hello-react/package.json
Expand Up @@ -13,36 +13,27 @@
"engines": {
"node": ">=8"
},
"license": "MIT",
"main": "dist/hello-react.js",
"scripts": {
"build": "rollup -c rollup.config.js",
"build:watch": "rollup -c rollup.config.js -w",
"build": "nebula build",
"lint": "eslint src",
"start": "nebula serve --no-build"
"start": "nebula serve"
},
"peerDependencies": {
"@nebula.js/stardust": ">=1.1.0"
"@nebula.js/stardust": ">=1.7.0"
},
"devDependencies": {
"@babel/cli": "7.15.7",
"@babel/plugin-transform-react-jsx": "7.14.9",
"@babel/preset-env": "7.15.6",
"@babel/preset-react": "7.14.5",
"@nebula.js/cli": "1.7.0",
"@rollup/plugin-commonjs": "20.0.0",
"@rollup/plugin-node-resolve": "13.0.4",
"@rollup/plugin-replace": "3.0.0",
"@rollup/plugin-babel": "5.3.0",
"@nebula.js/cli-build": "1.7.0",
"@nebula.js/cli-serve": "1.7.0",
"eslint": "7.32.0",
"eslint-config-airbnb": "18.2.1",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-mocha": "9.0.0",
"eslint-plugin-react": "7.26.0",
"postcss": "^8.3.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"rollup": "2.56.3",
"rollup-plugin-postcss": "4.0.1"
"react-dom": "17.0.2"
}
}
51 changes: 0 additions & 51 deletions examples/sn-hello-react/rollup.config.js

This file was deleted.

0 comments on commit 3ad9495

Please sign in to comment.