Skip to content

Commit 964a1fe

Browse files
authored
Merge pull request #198 from launchdarkly/release-3.0.6
prepare 3.0.6 release
2 parents a00e922 + 2066b01 commit 964a1fe

File tree

1 file changed

+5
-24
lines changed

1 file changed

+5
-24
lines changed

package.json

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
"sdk",
1313
"bindings"
1414
],
15-
"source": "src/index.ts",
16-
"main": "dist/main.js",
17-
"types": "dist/index.d.ts",
15+
"main": "lib/index.js",
16+
"types": "lib/index.d.ts",
1817
"files": [
1918
"lib",
2019
"src",
@@ -24,8 +23,7 @@
2423
"scripts": {
2524
"test": "jest",
2625
"test:junit": "jest --ci --reporters=default --reporters=jest-junit",
27-
"build": "parcel build",
28-
"build:analyze": "parcel build --reporter @parcel/reporter-bundle-analyzer",
26+
"build": "rimraf lib/* && tsc && mv lib/src/* lib && rimraf lib/package.json lib/src lib/*.test.*",
2927
"lint": "tslint -p tsconfig.json 'src/**/*.ts*'",
3028
"lint:all": "npm run lint",
3129
"check-typescript": "tsc",
@@ -40,9 +38,6 @@
4038
},
4139
"homepage": "https://github.com/launchdarkly/react-client-sdk",
4240
"devDependencies": {
43-
"@parcel/packager-ts": "2.8.3",
44-
"@parcel/reporter-bundle-analyzer": "^2.8.3",
45-
"@parcel/transformer-typescript-types": "2.8.3",
4641
"@testing-library/jest-dom": "^5.16.4",
4742
"@testing-library/react": "^13.0.1",
4843
"@types/hoist-non-react-statics": "^3.3.1",
@@ -56,9 +51,10 @@
5651
"jest-environment-jsdom": "^27.4.4",
5752
"jest-environment-jsdom-global": "^3.0.0",
5853
"jest-junit": "^13.0.0",
59-
"parcel": "^2.8.3",
6054
"prettier": "^1.18.2",
6155
"prop-types": "^15.7.2",
56+
"react": "^18.0.0",
57+
"react-dom": "^18.0.0",
6258
"react-test-renderer": "^18.0.0",
6359
"rimraf": "^3.0.0",
6460
"ts-jest": "^27.1.1",
@@ -68,27 +64,12 @@
6864
"typescript": "^4.5.3"
6965
},
7066
"dependencies": {
71-
"@swc/helpers": "^0.4.14",
7267
"hoist-non-react-statics": "^3.3.2",
7368
"launchdarkly-js-client-sdk": "^3.1.3",
7469
"lodash.camelcase": "^4.3.0"
7570
},
7671
"peerDependencies": {
7772
"react": "^16.6.3 || ^17.0.0 || ^18.0.0",
7873
"react-dom": "^16.8.4 || ^17.0.0 || ^18.0.0"
79-
},
80-
"targets": {
81-
"main": {
82-
"context": "browser",
83-
"outputFormat": "commonjs",
84-
"isLibrary": true,
85-
"optimize": true,
86-
"engines": {
87-
"browsers": [
88-
"> 0.5%, last 2 versions, not dead",
89-
"ie >= 11"
90-
]
91-
}
92-
}
9374
}
9475
}

0 commit comments

Comments
 (0)