2017-12-29 13:44:37 +01:00
|
|
|
{
|
|
|
|
|
"name": "immer",
|
2019-12-20 16:35:52 +00:00
|
|
|
"version": "5.1.0-beta.2",
|
2017-12-29 13:44:37 +01:00
|
|
|
"description": "Create your next immutable state by mutating the current one",
|
2018-01-16 18:37:58 +01:00
|
|
|
"main": "dist/immer.js",
|
2018-01-16 19:36:29 +01:00
|
|
|
"umd:main": "dist/immer.umd.js",
|
2019-10-22 17:15:26 +01:00
|
|
|
"unpkg": "dist/immer.umd.js",
|
|
|
|
|
"jsdelivr": "dist/immer.umd.js",
|
2019-03-13 20:16:26 +08:00
|
|
|
"module": "dist/immer.module.js",
|
|
|
|
|
"jsnext:main": "dist/immer.module.js",
|
|
|
|
|
"react-native": "dist/immer.module.js",
|
2019-12-20 10:34:02 +00:00
|
|
|
"types": "./dist/index.d.ts",
|
2017-12-29 13:44:37 +01:00
|
|
|
"scripts": {
|
2018-01-01 15:12:42 +00:00
|
|
|
"test": "jest",
|
2018-07-25 13:08:37 +02:00
|
|
|
"test:perf": "NODE_ENV=production yarn-or-npm build && cd __performance_tests__ && babel-node add-data.js && babel-node todo.js && babel-node incremental.js",
|
2018-12-16 09:37:22 -05:00
|
|
|
"test:flow": "yarn-or-npm flow check __tests__/flow",
|
2019-10-22 17:15:26 +01:00
|
|
|
"watch": "jest --watch",
|
2018-12-16 09:04:26 -05:00
|
|
|
"coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",
|
2019-03-12 23:06:02 +08:00
|
|
|
"build": "rimraf dist/ && yarn-or-npm bili && yarn-or-npm typed",
|
2019-12-20 10:34:02 +00:00
|
|
|
"typed": "cpx 'src/immer.js.flow' dist -v",
|
2019-10-22 17:15:26 +01:00
|
|
|
"publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn run publish-gh-pages",
|
|
|
|
|
"start": "cd website && yarn start"
|
2017-12-29 13:44:37 +01:00
|
|
|
},
|
2018-12-11 21:58:51 -05:00
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
2018-12-12 00:15:22 -05:00
|
|
|
"pre-commit": "pretty-quick --staged"
|
2018-12-11 21:58:51 -05:00
|
|
|
}
|
|
|
|
|
},
|
2017-12-29 13:44:37 +01:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2019-04-15 12:53:59 +02:00
|
|
|
"url": "https://github.com/immerjs/immer.git"
|
2017-12-29 13:44:37 +01:00
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"immutable",
|
|
|
|
|
"mutable",
|
|
|
|
|
"copy-on-write"
|
|
|
|
|
],
|
|
|
|
|
"author": "Michel Weststrate",
|
|
|
|
|
"license": "MIT",
|
2019-11-06 22:23:35 +00:00
|
|
|
"funding": {
|
|
|
|
|
"type": "opencollective",
|
|
|
|
|
"url": "https://opencollective.com/immer"
|
|
|
|
|
},
|
2017-12-29 13:44:37 +01:00
|
|
|
"bugs": {
|
2019-04-15 12:53:59 +02:00
|
|
|
"url": "https://github.com/immerjs/immer/issues"
|
2017-12-29 13:44:37 +01:00
|
|
|
},
|
2019-04-15 12:53:59 +02:00
|
|
|
"homepage": "https://github.com/immerjs/immer#readme",
|
2017-12-29 16:40:55 +01:00
|
|
|
"files": [
|
2019-03-19 14:04:35 -04:00
|
|
|
"dist",
|
|
|
|
|
"src"
|
2017-12-29 16:40:55 +01:00
|
|
|
],
|
2017-12-29 13:44:37 +01:00
|
|
|
"devDependencies": {
|
2019-03-12 11:04:12 -04:00
|
|
|
"@babel/cli": "^7.2.3",
|
|
|
|
|
"@babel/core": "^7.3.4",
|
|
|
|
|
"@babel/node": "^7.2.2",
|
|
|
|
|
"@babel/plugin-external-helpers": "^7.2.0",
|
|
|
|
|
"@babel/preset-env": "^7.3.4",
|
|
|
|
|
"@types/jest": "^24.0.11",
|
|
|
|
|
"babel-jest": "^24.4.0",
|
|
|
|
|
"babel-preset-modern-browsers": "^13.1.0",
|
2019-12-20 10:34:02 +00:00
|
|
|
"bili": "^4.8.1",
|
2018-01-03 15:14:37 +00:00
|
|
|
"coveralls": "^3.0.0",
|
2018-02-13 16:30:57 +01:00
|
|
|
"cpx": "^1.5.0",
|
2018-01-13 19:40:45 -03:00
|
|
|
"cross-env": "^5.1.3",
|
2018-01-04 22:15:00 +01:00
|
|
|
"deep-freeze": "^0.0.1",
|
2019-04-04 13:03:57 -04:00
|
|
|
"expect": "^24.7.1",
|
2018-03-23 23:11:08 -07:00
|
|
|
"flow-bin": "^0.68.0",
|
2018-12-11 21:58:51 -05:00
|
|
|
"husky": "^1.2.0",
|
2018-01-01 21:24:51 +01:00
|
|
|
"immutable": "^3.8.2",
|
2019-04-04 13:03:57 -04:00
|
|
|
"jest": "^24.7.1",
|
2018-02-04 15:41:51 +01:00
|
|
|
"lodash": "^4.17.4",
|
2018-01-01 21:24:51 +01:00
|
|
|
"lodash.clonedeep": "^4.5.0",
|
2019-04-15 09:19:46 +02:00
|
|
|
"prettier": "1.17.0",
|
2018-12-11 21:58:51 -05:00
|
|
|
"pretty-quick": "^1.8.0",
|
2017-12-29 13:44:37 +01:00
|
|
|
"regenerator-runtime": "^0.11.1",
|
2018-01-13 19:40:45 -03:00
|
|
|
"rimraf": "^2.6.2",
|
2019-12-20 10:34:02 +00:00
|
|
|
"rollup-plugin-typescript2": "^0.25.3",
|
2018-07-25 12:20:55 +02:00
|
|
|
"seamless-immutable": "^7.1.3",
|
2019-04-16 15:20:34 -04:00
|
|
|
"spec.ts": "^1.1.0",
|
2019-12-19 17:44:18 +00:00
|
|
|
"ts-jest": "^24.2.0",
|
2019-12-16 10:57:46 +00:00
|
|
|
"typescript": "^3.7.3",
|
2018-12-11 23:13:01 -05:00
|
|
|
"yarn-or-npm": "^2.0.4"
|
2017-12-29 13:44:37 +01:00
|
|
|
},
|
|
|
|
|
"jest": {
|
2019-03-12 11:04:12 -04:00
|
|
|
"moduleFileExtensions": [
|
2019-12-19 17:44:18 +00:00
|
|
|
"js",
|
|
|
|
|
"ts"
|
2019-03-12 11:04:12 -04:00
|
|
|
],
|
2018-10-28 11:26:07 -04:00
|
|
|
"testURL": "http://localhost",
|
2017-12-29 13:44:37 +01:00
|
|
|
"transform": {
|
2019-12-19 17:44:18 +00:00
|
|
|
"\\.js$": "babel-jest",
|
|
|
|
|
"\\.ts$": "ts-jest"
|
|
|
|
|
},
|
|
|
|
|
"preset": "ts-jest/presets/js-with-babel"
|
2017-12-29 13:44:37 +01:00
|
|
|
}
|
2018-10-24 22:14:48 -04:00
|
|
|
}
|