Skip to content

Update package.json and doc for scoped version #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 21, 2021
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Provide the `VMAP` constructor an XML in order to have a parsed version of it.
Access `VMAP` properties using the APIs documented below.

``` javascript
import VMAP from 'vmap';
import VMAP from '@dailymotion/vmap';

// Fetch VMAP as XML
const xhr = new XMLHttpRequest();
Expand Down Expand Up @@ -109,7 +109,7 @@ var vmap = new VMAP(vmapXML);
A pre-bundled version for node is available too: [`vmap-js-node.js`](dist/vmap-js-node.js).

```javascript
const VMAP = require('vmap')
const VMAP = require('@dailymotion/vmap')

const vmap = new VMAP(vmapXML);
```
Expand Down
92 changes: 46 additions & 46 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
{
"name": "vmap",
"author": "Dailymotion <[email protected]> (https://developer.dailymotion.com/)",
"version": "3.2.0",
"description": "Javascript VMAP Parser",
"keywords": [
"vmap",
"ad",
"advertising",
"iab",
"in-stream",
"video"
],
"repository": {
"type": "git",
"url": "https://github.com/dailymotion/vmap-js"
},
"license": "MIT",
"engines": {
"node": ">=8.9.4"
},
"main": "dist/vmap-js-node.js",
"module": "src/index.js",
"scripts": {
"test": "jasmine",
"build": "rollup -c rollup.config.js",
"precommit": "eslint --fix . && pretty-quick --staged",
"dev": "rollup -c rollup.config.js --watch",
"lint": "eslint --fix . && prettier --write \"**/*.js\""
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.12.10",
"babel-eslint": "^10.1.0",
"eslint": "^7.17.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-no-for-of-loops": "^1.0.1",
"husky": "^4.3.6",
"jasmine": "^3.6.3",
"path": "^0.12.7",
"prettier": "2.2.1",
"pretty-quick": "^3.1.0",
"rollup": "^2.35.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-terser": "^7.0.2",
"xmldom": "github:xmldom/xmldom#0.7.0"
"name": "@dailymotion/vmap",
"author": "Dailymotion <[email protected]> (https://developer.dailymotion.com/)",
"version": "3.2.0",
"description": "Javascript VMAP Parser",
"keywords": [
"vmap",
"ad",
"advertising",
"iab",
"in-stream",
"video"
],
"repository": {
"type": "git",
"url": "https://github.com/dailymotion/vmap-js"
},
"license": "MIT",
"engines": {
"node": ">=8.9.4"
},
"main": "dist/vmap-js-node.js",
"module": "src/index.js",
"scripts": {
"test": "jasmine",
"build": "rollup -c rollup.config.js",
"precommit": "eslint --fix . && pretty-quick --staged",
"dev": "rollup -c rollup.config.js --watch",
"lint": "eslint --fix . && prettier --write \"**/*.js\""
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.12.10",
"babel-eslint": "^10.1.0",
"eslint": "^7.17.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-no-for-of-loops": "^1.0.1",
"husky": "^4.3.6",
"jasmine": "^3.6.3",
"path": "^0.12.7",
"prettier": "2.2.1",
"pretty-quick": "^3.1.0",
"rollup": "^2.35.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-terser": "^7.0.2",
"xmldom": "github:xmldom/xmldom#0.7.0"
}
}