Skip to content

Commit 779f982

Browse files
authored
Merge pull request #19 from tnfe/feature/publish
Feature/publish
2 parents 564d6de + 11bc043 commit 779f982

File tree

11 files changed

+6735
-5492
lines changed

11 files changed

+6735
-5492
lines changed

.babelrc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
{
2-
"presets": [
3-
["env", {
4-
"modules": false
5-
}]
6-
]
2+
"presets": ["@babel/preset-env"]
73
}

.eslintignore

Whitespace-only changes.

.eslintrc.js

Whitespace-only changes.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ toCopy(data) !== data; // return true;
260260
set(data, 'data.response.code', 0);
261261
get(data, 'data.response.code') // return 0;
262262
```
263+
264+
#### 2021.8.31
265+
266+
publish 2.0.0
263267
## License
264268

265269
[The MIT License](https://opensource.org/licenses/MIT).

dist/index.js

Lines changed: 523 additions & 1 deletion
Large diffs are not rendered by default.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h3>Demos</h3>
205205
</div>
206206
</div>
207207
</div>
208-
<script charset="utf-8" src="//unpkg.com/jscalpel@1.2.0/dist"></script>
208+
<script charset="utf-8" src="https://unpkg.com/jscalpel@latest"></script>
209209
<script charset="utf-8">
210210
var logicMap = {
211211
'code': {

package-lock.json

Lines changed: 6175 additions & 5453 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"name": "jscalpel",
3-
"version": "1.5.0",
3+
"version": "2.0.0",
44
"description": "A small feature library that makes it easier to manipulate objects",
55
"main": "dist/index.js",
6+
"module": "dist/index.js",
7+
"jsnext:main": "dist/index.js",
68
"scripts": {
79
"watch": "browser-sync start --proxy='localhost:8080' --files='*.html, dist/*.js'",
810
"build": "rollup -c --watch && http-server",
@@ -31,21 +33,25 @@
3133
},
3234
"homepage": "https://github.com/ihtml5/scalpel#readme",
3335
"devDependencies": {
34-
"babel-core": "^6.26.3",
35-
"babel-jest": "^22.4.3",
3636
"babel-plugin-external-helpers": "^6.22.0",
3737
"babel-plugin-transform-runtime": "^6.23.0",
3838
"babel-preset-env": "^1.7.0",
3939
"babel-preset-es2015": "^6.24.1",
4040
"babel-preset-stage-0": "^6.24.1",
41-
"http-server": "^0.10.0",
42-
"jest": "^22.4.3",
41+
"http-server": "^13.0.1",
42+
"jest": "^27.1.0",
4343
"regenerator-runtime": "^0.11.1",
44-
"rollup": "^0.50.0",
4544
"rollup-plugin-babel": "^3.0.2",
4645
"rollup-plugin-node-resolve": "^3.0.0",
4746
"rollup-plugin-uglify": "^2.0.1",
4847
"rollup-watch": "^4.3.1",
49-
"uglify-es": "^3.1.0"
48+
"uglify-es": "^3.1.0",
49+
"@babel/core": "^7.15.0",
50+
"@babel/preset-env": "^7.15.0",
51+
"eslint-config-standard": "^16.0.3"
52+
},
53+
"dependencies": {
54+
"@rollup/plugin-babel": "^5.3.0",
55+
"rollup": "^2.56.3"
5056
}
5157
}

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// rollup.config.js
22
import resolve from 'rollup-plugin-node-resolve';
3-
import babel from 'rollup-plugin-babel';
3+
import { babel } from '@rollup/plugin-babel';
44
import uglify from 'rollup-plugin-uglify';
55
import { minify } from 'uglify-es';
66

src/.babelrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)