- Added configuration files: config.json, copy-assets.json, package-solution.json, serve.json, write-manifests.json. - Created gulpfile.js for build process. - Implemented core logic in OrganizationChartCore.ts for account normalization and profile handling. - Developed data service in OrganizationChartDataService.ts to fetch organization data from SharePoint User Profile Service. - Defined types for user profiles and organization nodes in OrganizationChartTypes.ts. - Created web part manifest for OrganizationChartWebPart. - Built the main web part component with rendering logic and property pane configuration in OrganizationChartWebPart.ts. - Developed React components for displaying the organization chart. - Implemented styling for the organization chart in OrganizationChart.module.scss. - Added localization support with English and German strings. - Created unit tests for core functionalities in OrganizationChartCore.test.ts. - Set up TypeScript and TSLint configurations for the project.
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"name": "organization-chart-webpart",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"main": "lib/index.js",
|
|
"engines": { "node": ">=6.9.0 <9.0.0" },
|
|
"scripts": {
|
|
"build": "gulp bundle",
|
|
"clean": "gulp clean",
|
|
"test": "tsc -p tests/tsconfig.json && node temp/tests/tests/OrganizationChartCore.test.js && node tests/validate-project.js",
|
|
"package": "npm test && gulp clean && gulp bundle --ship && gulp package-solution --ship"
|
|
},
|
|
"dependencies": {
|
|
"@microsoft/sp-core-library": "1.4.1",
|
|
"@microsoft/sp-http": "1.4.1",
|
|
"@microsoft/sp-office-ui-fabric-core": "1.4.1",
|
|
"@microsoft/sp-webpart-base": "1.4.1",
|
|
"@types/es6-promise": "0.0.33",
|
|
"@types/react": "15.6.6",
|
|
"@types/react-dom": "15.5.6",
|
|
"@types/webpack-env": "1.13.1",
|
|
"react": "15.6.2",
|
|
"react-dom": "15.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/sp-build-web": "1.4.1",
|
|
"@microsoft/sp-module-interfaces": "1.4.1",
|
|
"@microsoft/sp-tslint-rules": "1.4.1",
|
|
"@microsoft/sp-webpart-workbench": "1.4.1",
|
|
"ajv": "5.2.2",
|
|
"gulp": "~3.9.1"
|
|
}
|
|
}
|