- Created Accordion web part with SPFx 1.4.1 framework. - Implemented dynamic loading of SharePoint lists and fields. - Added configuration options for title, content, and category fields. - Included support for multiple open sections and initial state settings. - Developed HTML sanitizer for rich text content. - Implemented accessible accordion UI with category grouping. - Added localization support for English and German languages. - Created necessary configuration files for deployment and asset management. - Added validation script to ensure project compliance with standards.
36 lines
1009 B
JSON
36 lines
1009 B
JSON
{
|
|
"name": "accordion",
|
|
"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 --noEmit -p . && 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"
|
|
}
|
|
}
|