Skip to content

Commit

Permalink
Merge aa30334 into c482c33
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Oct 13, 2018
2 parents c482c33 + aa30334 commit 1c3f7d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -7,6 +7,7 @@ script:
- npm run lint
- npm run cover
- npm run build
- npm run benchmark
after_script:
- npm run coveralls
cache:
Expand Down
4 changes: 2 additions & 2 deletions test/benchmark.js → benchmark/index.js
@@ -1,6 +1,6 @@
const Benchmark = require('benchmark');
const { data } = require('./helpers/');
const Parser = require('../');
const { data } = require('../test/helpers/');
const Parser = require('..');

const suite = new Benchmark.Suite();

Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -5,6 +5,7 @@
"author": "Mark <mark@remarkablemark.org>",
"main": "index.js",
"scripts": {
"benchmark": "node benchmark",
"build": "npm run clean && npm run build:min && npm run build:unmin",
"build:min": "NODE_ENV=production webpack -o dist/html-react-parser.min.js",
"build:unmin": "NODE_ENV=development webpack -o dist/html-react-parser.js",
Expand All @@ -14,11 +15,10 @@
"coveralls": "cat coverage/lcov.info | coveralls",
"lint": "eslint --ignore-path .gitignore .",
"lint:fix": "npm run lint -- --fix",
"precommit": "lint-staged",
"precommit": "npm test && lint-staged",
"prepublishOnly": "npm run build",
"release": "standard-version --no-verify",
"test": "mocha",
"test:benchmark": "node test/benchmark.js"
"test": "mocha"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1c3f7d5

Please sign in to comment.