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

remove init script from package.json #87

Merged
merged 1 commit into from
Sep 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}