@naturacosmeticos/natds-themes
Version:
The single source of truth for Natura Design System tokens.
96 lines (95 loc) • 3.79 kB
JSON
{
"name": "@naturacosmeticos/natds-themes",
"displayName": "NatDSThemes",
"description": "The single source of truth for Natura Design System tokens.",
"version": "0.84.6",
"private": false,
"keywords": [
"naturacosmeticos",
"natds",
"natds-themes",
"themes",
"natdsthemes",
"tokens"
],
"homepage": "https://github.com/natura-cosmeticos/natds-commons/tree/main/packages/natds-themes#readme",
"bugs": {
"url": "https://github.com/natura-cosmeticos/natds-commons/issues"
},
"license": "ISC",
"author": {
"name": "Natura Design System",
"email": "designsystem@natura.net"
},
"files": [
"dist",
"react-native",
"README.md"
],
"browser": {
"./dist/index.js": "./dist/umd/index.js",
"./dist/esm/index.js": "./dist/esm/index.js"
},
"esmodule": "dist/esm/index.js",
"jsdelivr": "dist/umd/index.js",
"jsnext:main": "dist/esm/index.js",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"react-native": "react-native/index.js",
"umd:main": "dist/umd/index.js",
"unpkg": "dist/umd/index.js",
"directories": {
"build": "build",
"lib": "dist",
"react-native": "react-native"
},
"repository": {
"directory": "packages/natds-themes",
"type": "git",
"url": "https://github.com/natura-cosmeticos/natds-commons.git"
},
"scripts": {
"build": "yarn build:outputs && yarn build:npm:packages",
"build:copy": "cp -r ./config/react-native/static/* ./build/react-native && cp -r ./config/web/static/* ./build/web",
"build:dictionary": "yarn clean && babel-node --presets @babel/preset-env -e 'require(\"./config/build.js\").build()'",
"build:outputs": "yarn build:dictionary && yarn build:android:resources && yarn fill:to:css:react-native",
"build:android:resources": "babel-node --presets @babel/preset-env -e 'require(\"./config/android/buildResourcesOutput.js\").buildResourcesOutput()'",
"build:npm:packages": "yarn build:copy && yarn rollup:build && yarn copy:types && yarn copy:assets",
"build:watch": "nodemon --watch config -e .js,.hbs -x 'yarn build:outputs'",
"clean": "rm -rf ./build && rm -rf ./dist && rm -rf ./react-native",
"copy:types": "yarn copy:types:web && yarn copy:types:react-native",
"copy:assets": "yarn copy:assets:web && yarn copy:assets:react-native",
"copy:svg:background:web": "cp assets/**-embed-image-**.png ./dist/assets",
"copy:types:web": "cp ./build/web/index.d.ts ./dist",
"copy:assets:web": "node ./bin/copy-assets.js web ./dist/assets && yarn copy:svg:background:web",
"copy:types:react-native": "cp ./build/react-native/index.d.ts ./react-native",
"copy:assets:react-native": "node ./bin/copy-assets.js react-native ./react-native/assets",
"fill:to:css:react-native": "babel-node --presets @babel/preset-env -e 'require(\"./config/react-native/convertFillToStyle.js\").convertFilToCss()'",
"parse:figma:tokens": "babel-node --presets @babel/preset-env -e 'require(\"./bin/parse-figma-json.js\")'",
"html": "yarn build:outputs && http-server build/html",
"html:watch": "nodemon --watch config --watch properties -e .js,.json,.hbs,.html -x 'yarn html'",
"lint": "eslint --ext .js ./",
"lint:fix": "yarn lint --fix",
"rollup:build": "rollup -c",
"start": "yarn html:watch",
"test": "jest --colors --collectCoverage"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@rollup/plugin-json": "4.1.0",
"crypto-js": "4.1.1",
"handlebars": "4.7.7",
"json-to-ts": "1.7.0",
"json2ts": "0.0.7",
"ramda": "0.27.1",
"style-dictionary": "3.7.0",
"svgo": "2.3.0"
},
"dependencies": {
"open-color": "^1.8.0",
"svg2vectordrawable": "2.6.26",
"webp-converter": "^2.3.3"
}
}