|
75 | 75 | "test-umdbrowser": "npm run build-browser-umd && karma start karma.umd.conf.js --single-run", |
76 | 76 | "test-karma-local": "karma start karma.local_chrome.bs.conf.js && npm run build-browser-umd && karma start karma.local_chrome.umd.conf.js", |
77 | 77 | "prebuild": "npm run clean", |
78 | | - "compile": "tsc -p tsconfig.build.json", |
79 | | - "build": "npm run validate-platform-isolation && npm run genmsg && npm run compile && rollup -c rollup.config.new.js && cp dist/index.browser.d.ts dist/index.d.ts", |
80 | | - "build:win": "tsc --noEmit && npm run genmsg && npm run compile && rollup -c rollup.config.new.js && type nul > dist/optimizely.lite.es.d.ts && type nul > dist/optimizely.lite.es.min.d.ts && type nul > dist/optimizely.lite.min.d.ts", |
81 | | - "build-browser-umd": "npm run compile && rollup -c rollup.config.new.js --config-umd", |
| 78 | + "build": "npm run validate-platform-isolation && npm run genmsg && tsc && rollup -c rollup.config.mjs && cp dist/index.browser.d.ts dist/index.d.ts", |
| 79 | + "build:win": "npm run validate-platform-isolation && npm run genmsg && tsc && rollup -c rollup.config.mjs && copy dist\\index.browser.d.ts dist\\index.d.ts", |
| 80 | + "build-browser-umd": "tsc && rollup -c rollup.config.mjs --config-umd", |
82 | 81 | "coveralls": "nyc --reporter=lcov npm test", |
83 | 82 | "prepare": "npm run build", |
84 | 83 | "prepublishOnly": "npm test", |
85 | | - "postbuild:win": "@powershell copy \"dist/index.lite.d.ts\" \"dist/optimizely.lite.es.d.ts\" && @powershell copy \"dist/index.lite.d.ts\" \"dist/optimizely.lite.es.min.d.ts\" && @powershell copy \"dist/index.lite.d.ts\" \"dist/optimizely.lite.min.d.ts\"", |
86 | 84 | "genmsg": "jiti message_generator ./lib/message/error_message.ts ./lib/message/log_message.ts", |
87 | 85 | "ts-example": "node ./scripts/run-ts-example.js" |
88 | 86 | }, |
|
0 commit comments