perf-marks
Advanced tools
Comparing version 1.5.1 to 1.6.0
@@ -10,2 +10,9 @@ # Change Log | ||
## [1.6.0][] - 2019-11-14 | ||
### Updated | ||
- Adding support for CJS and ESM in entry points via build tool. By definition it will use CJS. However, this can be changed in the consumer's bundle step - built-in scenario if the consumer uses toolings such as `Webpack`, `Rollup`, or `Parcel`. | ||
- Removing `babel` packages from dependencies. Not needed anymore after move to `rollup` build | ||
## [1.5.1][] - 2019-11-08 | ||
@@ -152,5 +159,7 @@ | ||
[1.5.0]: https://github.com/willmendesneto/perf-marks/tree/v1.5.0 | ||
[unreleased]: https://github.com/willmendesneto/perf-marks/compare/v1.5.1...HEAD | ||
[1.5.1]: https://github.com/willmendesneto/perf-marks/tree/v1.5.1 | ||
[Unreleased]: https://github.com/willmendesneto/perf-marks/compare/v1.5.1...HEAD | ||
[1.5.1]: https://github.com/willmendesneto/perf-marks/tree/v1.5.1 | ||
[Unreleased]: https://github.com/willmendesneto/perf-marks/compare/v1.6.0...HEAD | ||
[1.6.0]: https://github.com/willmendesneto/perf-marks/tree/v1.6.0 |
@@ -1,3 +0,3 @@ | ||
export * from './perf-marks'; | ||
export * from './marks'; | ||
export * from './entries'; | ||
export * from './is-user-timing-api-supported'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./perf-marks"), exports); | ||
tslib_1.__exportStar(require("./marks"), exports); | ||
tslib_1.__exportStar(require("./entries"), exports); | ||
tslib_1.__exportStar(require("./is-user-timing-api-supported"), exports); |
@@ -1,3 +0,3 @@ | ||
export * from './perf-marks'; | ||
export * from './marks'; | ||
export * from './entries'; | ||
export * from './is-user-timing-api-supported'; |
@@ -1,3 +0,3 @@ | ||
export * from './perf-marks'; | ||
export * from './marks'; | ||
export * from './entries'; | ||
export * from './is-user-timing-api-supported'; |
@@ -1,3 +0,3 @@ | ||
export * from './perf-marks'; | ||
export * from './marks'; | ||
export * from './entries'; | ||
export * from './is-user-timing-api-supported'; |
@@ -1,3 +0,3 @@ | ||
export * from './perf-marks'; | ||
export * from './marks'; | ||
export * from './entries'; | ||
export * from './is-user-timing-api-supported'; |
{ | ||
"name": "perf-marks", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"author": "Will Mendes <willmendesneto@gmail.com>", | ||
@@ -30,6 +30,2 @@ "description": "The simplest and lightweight solution for User Timing API in Javascript.", | ||
"devDependencies": { | ||
"@babel/cli": "^7.6.4", | ||
"@babel/core": "^7.6.4", | ||
"@babel/plugin-transform-modules-umd": "^7.2.0", | ||
"@babel/preset-env": "^7.6.3", | ||
"@types/jest": "^24.0.18", | ||
@@ -39,3 +35,2 @@ "@types/node": "^12.0.10", | ||
"@typescript-eslint/parser": "^2.3.3", | ||
"babel-jest": "^24.9.0", | ||
"bundlesize": "^0.18.0", | ||
@@ -69,5 +64,4 @@ "changelog-verify": "^1.1.0", | ||
"compile": "tsc", | ||
"clean": "rm -rf ./dist ./.jest ./coverage ./lib ./marks.* ./entries.*", | ||
"clean:entrypoints": "rm -rf ./marks.* ./entries.*", | ||
"build": "yarn build:es2015 && yarn build:cjs && yarn build:esm && yarn build:umd && yarn build:entrypoints:clean && yarn build:entrypoints", | ||
"clean": "rm -rf ./dist ./.jest ./coverage ./lib", | ||
"build": "yarn build:es2015 && yarn build:cjs && yarn build:esm && yarn build:umd", | ||
"build:umd": "rollup dist/esm/index.js --format umd --name PerfMarks -o dist/umd/perf-marks.js && yarn build:umd:min", | ||
@@ -78,4 +72,2 @@ "build:umd:min": "uglifyjs --compress --mangle --screw-ie8 --comments -o dist/umd/perf-marks.min.js -- dist/umd/perf-marks.js && gzip dist/umd/perf-marks.min.js -c > dist/umd/perf-marks.min.js.gz", | ||
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs", | ||
"build:entrypoints:clean": "rm -rf ./dist/umd/entrypoints ./dist/cjs/entrypoints ./dist/es2015/entrypoints", | ||
"build:entrypoints": "node ./scripts/build-entrypoints.js", | ||
"test": "jest", | ||
@@ -85,3 +77,3 @@ "pretest:ci": "yarn lint", | ||
"check-coverage": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage", | ||
"bundlesize": "bundlesize && yarn clean:entrypoints", | ||
"bundlesize": "bundlesize", | ||
"lint": "eslint '{scripts,src}/**/*.[tj]s'", | ||
@@ -88,0 +80,0 @@ "lint:fix": "prettier --no-editorconfig --write", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55317
26
40
1231