|
2 | 2 | "name": "@ima/plugin-atoms",
|
3 | 3 | "version": "1.3.0",
|
4 | 4 | "description": "IMA.js UI React atoms",
|
5 |
| - "main": "index.js", |
| 5 | + "main": "index.server.cjs.js", |
| 6 | + "browser": "index.client.cjs.js", |
| 7 | + "module": "index.server.esm.js", |
6 | 8 | "scripts": {
|
7 | 9 | "preversion": "npm test && npm run lint && npm run build",
|
8 | 10 | "postversion": "npm run build && npm run changelog && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
|
|
11 | 13 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
|
12 | 14 | "commit": "node_modules/.bin/git-cz",
|
13 | 15 | "copy": "node_modules/.bin/gulp copy",
|
14 |
| - "build": "node_modules/.bin/gulp build", |
| 16 | + "build": "node_modules/.bin/rollup --config", |
15 | 17 | "dev": "node_modules/.bin/gulp dev"
|
16 | 18 | },
|
17 | 19 | "keywords": [
|
|
39 | 41 | "@commitlint/cli": "^8.2.0",
|
40 | 42 | "@commitlint/config-conventional": "^8.2.0",
|
41 | 43 | "@ima/core": "17.0.1",
|
| 44 | + "@ima/helpers": "^17.0.1", |
42 | 45 | "babel-eslint": "^10.0.3",
|
43 | 46 | "babel-jest": "^24.9.0",
|
44 | 47 | "babelify": "10.0.0",
|
|
47 | 50 | "commitizen": "^4.0.3",
|
48 | 51 | "conventional-changelog-cli": "^2.0.28",
|
49 | 52 | "cz-conventional-changelog": "^3.0.2",
|
50 |
| - "del": "5.1.0", |
51 | 53 | "enzyme": "3.10.0",
|
52 | 54 | "enzyme-adapter-react-16": "^1.15.1",
|
53 | 55 | "enzyme-to-json": "^3.4.3",
|
|
59 | 61 | "eslint-plugin-prettier": "^3.1.1",
|
60 | 62 | "eslint-plugin-react": "^7.17.0",
|
61 | 63 | "gulp": "4.0.2",
|
62 |
| - "gulp-babel": "8.0.0", |
63 |
| - "gulp-cached": "1.1.1", |
64 | 64 | "gulp-less": "4.0.1",
|
65 |
| - "gulp-remember": "1.0.1", |
66 |
| - "gulp-rename": "2.0.0", |
67 | 65 | "husky": "^3.1.0",
|
68 | 66 | "ima-clientify": "^0.1.2",
|
69 | 67 | "jest": "^24.9.0",
|
70 | 68 | "prettier": "^1.19.1",
|
71 | 69 | "react": "^16.7.0",
|
72 | 70 | "react-dom": "^16.12.0",
|
| 71 | + "rollup": "^1.27.8", |
| 72 | + "rollup-plugin-babel": "^4.3.3", |
| 73 | + "rollup-plugin-jscc": "^1.0.0", |
| 74 | + "rollup-plugin-json": "^4.0.0", |
| 75 | + "rollup-plugin-node-resolve": "^5.2.0", |
| 76 | + "rollup-plugin-replace": "^2.2.0", |
73 | 77 | "to-mock": "^1.5.4",
|
74 | 78 | "watchify": "3.11.1"
|
75 | 79 | },
|
|
88 | 92 | },
|
89 | 93 | "peerDependencies": {
|
90 | 94 | "react": "16.x",
|
91 |
| - "ima": "17.x" |
| 95 | + "@ima/core": "17.x" |
92 | 96 | },
|
93 | 97 | "engines": {
|
94 | 98 | "npm": ">=4 <6"
|
|
0 commit comments