Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.

Commit

Permalink
Merge pull request #87 from danbev/webpack-fix
Browse files Browse the repository at this point in the history
remove init script from package.json
  • Loading branch information
jesusprubio authored Sep 2, 2019
2 parents 5f1a824 + ed826c9 commit 18db433
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `@qiskit/qiskit-sim`: add deutsch-oracle example

> - ✏️ **Changed**: for changes in existing functionality.
- `examples/webpack`: remove init script from package.json

- `@qiskit/qiskit-qasm`: Make QasmError a class
- `@qiskit/qiskit-qasm`: Use QasmError for jison error handling
Expand Down
5 changes: 0 additions & 5 deletions examples/webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ parser can be used in a browser environment.
### Install
```console
$ npm i
$ npm run init
```
The init run-script is only required because the current version of qiskit/qasm
does not distribute the `qelib1.inc` file. This has been fixed and will not
be required in the future.

### Build
```
$ npm run build
Expand Down
5 changes: 2 additions & 3 deletions examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"version": "0.0.1",
"private": true,
"scripts": {
"build": "webpack",
"init": "mkdir node_modules/@qiskit/qasm/core ; cp ../../packages/qiskit-qasm/core/qelib1.inc node_modules/@qiskit/qasm/core"
"build": "webpack"
},
"files": [
"package.json",
Expand All @@ -22,7 +21,7 @@
"webpack-cli": "^3.3.6"
},
"dependencies": {
"@qiskit/sim": "^0.9.0"
"@qiskit/sim": "^0.10.0"
},
"type": "module"
}

0 comments on commit 18db433

Please sign in to comment.