Skip to content

Commit

Permalink
update build + bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
chocolateboy committed Dec 11, 2020
1 parent bfcf067 commit cf1cfc8
Show file tree
Hide file tree
Showing 3 changed files with 961 additions and 913 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Build Status](https://github.com/chocolateboy/babel-plugin-source-map-support/workflows/test/badge.svg)](https://github.com/chocolateboy/babel-plugin-source-map-support/actions?query=workflow%3Atest)
[![NPM Version](https://img.shields.io/npm/v/babel-plugin-source-map-support.svg)](https://www.npmjs.org/package/babel-plugin-source-map-support)

<!-- toc -->
<!-- TOC -->

- [NAME](#name)
- [INSTALL](#install)
Expand All @@ -15,7 +15,7 @@
- [AUTHOR](#author)
- [COPYRIGHT AND LICENSE](#copyright-and-license)

<!-- tocstop -->
<!-- TOC END -->

# NAME

Expand Down Expand Up @@ -118,8 +118,7 @@ the bottom of each file which points to its generated source-map, e.g.:
The following NPM scripts are available:

- build - compile the plugin and save it to the `dist` directory
- build:cjs - build the CommonJS target
- build:esm - build the ESM target
- build:doc - generate the README's TOC (table of contents)
- clean - remove the `dist` directory and other build artifacts
- rebuild - clean the build artifacts and recompile the code
- test - rebuild the plugin and run the test suite
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
"main": "dist/index.js",
"module": "dist/index.esm.js",
"scripts": {
"build": "run-s build:cjs build:esm",
"build:cjs": "bili --format cjs src/index.js",
"build:esm": "shx cp src/index.js dist/index.esm.js",
"build": "bili --format cjs,esm src/index.js",
"build:doc": "toc-md README.md",
"clean": "shx rm -rf dist",
"prepublishOnly": "run-s test:prod",
"prepublishOnly": "run-p build:doc test:prod",
"rebuild": "run-s clean build",
"test": "run-s rebuild test:run",
"test:debug": "cross-env NODE_ENV=development run-s test",
Expand All @@ -24,17 +23,18 @@
],
"browserslist": "maintained node versions",
"dependencies": {
"@babel/helper-module-imports": "^7.10.4"
"@babel/helper-module-imports": "^7.12.5"
},
"devDependencies": {
"@babel/core": "^7.11.4",
"ava": "^3.12.1",
"@babel/core": "^7.12.10",
"ava": "^3.14.0",
"bili": "^5.0.5",
"cross-env": "^7.0.2",
"cross-env": "^7.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1",
"shx": "^0.3.2",
"source-map-support": "^0.5.19"
"prettier": "^2.2.1",
"shx": "^0.3.3",
"source-map-support": "^0.5.19",
"toc-md-alt": "^0.4.1"
},
"keywords": [
"babel-plugin",
Expand Down
Loading

0 comments on commit cf1cfc8

Please sign in to comment.