2020-05-13 16:51:43 -04:00
|
|
|
{
|
2022-01-17 03:23:35 -05:00
|
|
|
"name": "<%= packageName %>",
|
2021-12-21 04:44:21 -05:00
|
|
|
"version": "0.1.0",
|
2022-01-17 03:23:35 -05:00
|
|
|
"description": "<%= description %>",
|
2020-05-13 16:51:43 -04:00
|
|
|
"sideEffects": false,
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"module": "esm/index.js",
|
|
|
|
"files": [
|
|
|
|
"esm",
|
|
|
|
"lib"
|
|
|
|
],
|
2022-01-17 03:23:35 -05:00
|
|
|
"private": true,
|
2021-12-21 04:44:21 -05:00
|
|
|
"scripts": {
|
|
|
|
"build": "npm run build-cjs && npm run build-esm && npm run ts-types",
|
|
|
|
"build-cjs": "babel src --extensions \".ts,.tsx,.js,.jsx\" --copy-files --out-dir lib",
|
|
|
|
"build-clean": "npm run clean && npm run build",
|
|
|
|
"build-esm": "BABEL_OUTPUT=esm babel src --extensions \".ts,.tsx,.js,.jsx\" --copy-files --out-dir esm",
|
2022-01-17 03:23:35 -05:00
|
|
|
"dev": "BABEL_OUTPUT=esm babel src --extensions \".ts,.tsx,.js,.jsx\" --watch --copy-files --out-dir esm",
|
|
|
|
"prebuild": "rimraf {lib,esm,tsconfig.tsbuildinfo}",
|
|
|
|
"postbuild": "npm run test",
|
2021-12-21 04:44:21 -05:00
|
|
|
"ts-types": "tsc --build",
|
|
|
|
"test": "jest"
|
2020-05-13 16:51:43 -04:00
|
|
|
},
|
2022-01-17 03:23:35 -05:00
|
|
|
"author": "My Name",
|
2020-05-13 16:51:43 -04:00
|
|
|
"license": "Apache-2.0",
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2022-01-17 03:23:35 -05:00
|
|
|
"dependencies": {},
|
2020-05-13 16:51:43 -04:00
|
|
|
"peerDependencies": {
|
2022-01-17 03:23:35 -05:00
|
|
|
"@superset-ui/chart-controls": "*",
|
2022-01-11 00:53:37 -05:00
|
|
|
"@superset-ui/core": "*",
|
2022-01-17 03:23:35 -05:00
|
|
|
"react": "^16.13.1"
|
2020-07-02 11:52:24 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-12-21 04:44:21 -05:00
|
|
|
"@airbnb/config-babel": "^2.0.1",
|
|
|
|
"@babel/cli": "^7.16.0",
|
|
|
|
"@types/jest": "^26.0.4",
|
|
|
|
"jest": "^26.6.3",
|
2022-01-17 03:23:35 -05:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"typescript": "^4.1.2"
|
2020-05-13 16:51:43 -04:00
|
|
|
}
|
|
|
|
}
|