|
57 | 57 | "clear": "del ./package ./dist ./coverage", |
58 | 58 | "prepublishOnly": "run test build clear:package clean-publish", |
59 | 59 | "postpublish": "pnpm clear:package", |
60 | | - "emitDeclarations": "tsc --emitDeclarationOnly", |
61 | | - "build": "run -p [ rollup -c ] emitDeclarations", |
| 60 | + "build": "run-p build:**", |
| 61 | + "build:emitDeclarations": "tsc --emitDeclarationOnly", |
| 62 | + "build:rollup": "rollup -c", |
62 | 63 | "lint": "eslint 'rollup.config.js' 'types/**/*.ts' 'test/**/*.{js,ts}' 'src/**/*.ts'", |
63 | 64 | "jest": "cross-env NODE_ENV=test jest -c jest.config.json", |
64 | 65 | "test:size": "size-limit", |
|
78 | 79 | "prepare": "yarn run build" |
79 | 80 | }, |
80 | 81 | "dependencies": { |
81 | | - "@types/offscreencanvas": "^2019.6.4", |
82 | | - "@types/raf": "^3.4.0", |
83 | 82 | "raf": "^3.4.1", |
84 | 83 | "rgbcolor": "^1.0.1", |
85 | 84 | "stackblur-canvas": "^2.0.0", |
|
91 | 90 | "@rollup/plugin-commonjs": "^21.0.1", |
92 | 91 | "@rollup/plugin-node-resolve": "^13.0.5", |
93 | 92 | "@rollup/plugin-replace": "^4.0.0", |
| 93 | + "@rollup/plugin-typescript": "^11.1.2", |
94 | 94 | "@size-limit/preset-small-lib": "^7.0.8", |
95 | 95 | "@swc/core": "^1.2.136", |
96 | 96 | "@swc/helpers": "^0.3.2", |
97 | 97 | "@swc/jest": "^0.2.17", |
98 | | - "@trigen/babel-preset": "^8.0.0-alpha.5", |
99 | | - "@trigen/browserslist-config": "^8.0.0-alpha.2", |
100 | | - "@trigen/eslint-config": "^8.0.0-alpha.14", |
101 | | - "@trigen/scripts": "^8.0.0-alpha.9", |
102 | 98 | "@types/jest": "^27.0.2", |
103 | 99 | "@types/node": "^17.0.16", |
104 | 100 | "@types/node-fetch": "^2.5.12", |
| 101 | + "@types/offscreencanvas": "^2019.6.4", |
105 | 102 | "@types/puppeteer": "^5.4.2", |
| 103 | + "@types/raf": "^3.4.0", |
106 | 104 | "@types/xmldom": "^0.1.29", |
107 | 105 | "browserslist": "^4.19.1", |
108 | 106 | "canvas": "^2.1.0", |
|
117 | 115 | "jest-image-snapshot": "^4.3.0", |
118 | 116 | "nano-staged": "^0.8.0", |
119 | 117 | "node-fetch": "^2.6.0", |
| 118 | + "npm-run-all": "^4.1.5", |
120 | 119 | "puppeteer": "^13.0.0", |
121 | 120 | "rollup": "^2.67.1", |
122 | 121 | "rollup-plugin-swc": "^0.2.1", |
|
0 commit comments