1
0
mirror of https://github.com/kettek/png-js synced 2025-03-14 06:24:30 -07:00

Remove unneeded size test; add package-lock

This commit is contained in:
kts of kettek (nyaa) 2020-04-02 14:24:53 -07:00
parent 3b361299d2
commit 85d8675a0e
2 changed files with 1011 additions and 13 deletions

1010
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -15,13 +15,11 @@
}, },
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
"prepublish": "npm run build", "prepublish": "npm run build"
"test:size": "bundlesize"
}, },
"devDependencies": { "devDependencies": {
"babel-plugin-external-helpers": "^6.22.0", "babel-plugin-external-helpers": "^6.22.0",
"babel-preset-es2015": "^6.24.1", "babel-preset-es2015": "^6.24.1",
"bundlesize": "^0.17.0",
"rollup": "^0.52.2", "rollup": "^0.52.2",
"rollup-plugin-babel": "^2.7.1", "rollup-plugin-babel": "^2.7.1",
"rollup-plugin-ignore": "^1.0.3", "rollup-plugin-ignore": "^1.0.3",
@ -30,15 +28,5 @@
}, },
"files": [ "files": [
"dist" "dist"
],
"bundlesize": [
{
"path": "./dist/png-js.cjs.min.js",
"maxSize": "2kB"
},
{
"path": "./dist/png-js.browser.cjs.min.js",
"maxSize": "2kB"
}
] ]
} }