Microbundle is used for building dist

This commit is contained in:
Shaun Dern 2020-04-02 15:18:34 +01:00
parent 9b14abcda0
commit 469fa145a1
No known key found for this signature in database
GPG Key ID: 19E354FC9294F450
2 changed files with 2377 additions and 47 deletions

View File

@ -12,14 +12,19 @@
"dist", "dist",
"types" "types"
], ],
"main": "dist/index.js",
"keywords": [ "keywords": [
"immutable", "immutable",
"frozen", "frozen",
"functional", "functional",
"declarative" "declarative"
], ],
"source": "lib/index.js",
"main": "dist/index.js",
"module": "dist/index.module.js",
"types": "types",
"scripts": { "scripts": {
"build": "microbundle",
"dev": "microbundle watch",
"dtslint": "dtslint --localTs node_modules/typescript/lib types", "dtslint": "dtslint --localTs node_modules/typescript/lib types",
"lint": "npm run dtslint && eslint .", "lint": "npm run dtslint && eslint .",
"test": "npm run test:mocha && npm run test:karma", "test": "npm run test:mocha && npm run test:karma",
@ -61,6 +66,7 @@
"karma-mocha-reporter": "^2.2.5", "karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7", "karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2", "karma-webpack": "^4.0.2",
"microbundle": "^0.11.0",
"mocha": "^7.0.0", "mocha": "^7.0.0",
"prettier": "^2.0.2", "prettier": "^2.0.2",
"rimraf": "^3.0.0", "rimraf": "^3.0.0",
@ -69,6 +75,5 @@
"webpack-cli": "^3.3.11", "webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.1.11", "webpack-dev-server": "^3.1.11",
"webpack-stream": "^5.2.1" "webpack-stream": "^5.2.1"
}, }
"types": "types"
} }

2413
yarn.lock

File diff suppressed because it is too large Load Diff