2022-12-01 12:03:37 +01:00
|
|
|
{
|
|
|
|
|
"name": "@openfun/cunningham-tokens",
|
|
|
|
|
"private": false,
|
2023-02-21 10:34:39 +01:00
|
|
|
"version": "0.1.1",
|
2022-12-01 12:03:37 +01:00
|
|
|
"license": "MIT",
|
2023-01-26 17:52:34 +01:00
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
|
|
|
|
},
|
2022-12-01 12:03:37 +01:00
|
|
|
"bin": {
|
2023-01-04 15:51:06 +01:00
|
|
|
"cunningham": "./dist/bin/Main.js"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
2023-01-04 15:51:06 +01:00
|
|
|
"main": "./dist/lib/index.js",
|
|
|
|
|
"types": "./dist/lib/index.d.ts",
|
2022-12-01 12:03:37 +01:00
|
|
|
"exports": {
|
2023-01-04 15:51:06 +01:00
|
|
|
"./default-tokens": "./dist/cunningham-tokens.css",
|
|
|
|
|
".": {
|
|
|
|
|
"require": "./dist/lib/index.js",
|
|
|
|
|
"import": "./dist/lib/index.js",
|
|
|
|
|
"types": "./dist/lib/index.d.ts"
|
|
|
|
|
}
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist/"
|
|
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"lint": "eslint . 'src/**/*.{ts,tsx}'",
|
|
|
|
|
"dev": "nodemon --watch 'src/bin' --ext '*' --exec 'yarn build'",
|
2023-01-12 15:00:45 +01:00
|
|
|
"build-bin": "cd src/bin && tsc -p tsconfig.json && tsc-alias && chmod +x ../../dist/bin/Main.js",
|
2023-01-04 15:51:06 +01:00
|
|
|
"build-lib": "cp dist/cunningham-tokens.ts src/lib && cd src/lib && tsc -p tsconfig.json",
|
|
|
|
|
"build": "yarn build-bin && yarn build-default-theme && yarn build-lib && cd ../.. && ln -sf ../../packages/tokens/dist/bin/Main.js node_modules/.bin/cunningham",
|
2023-02-16 17:06:33 +01:00
|
|
|
"build-default-theme": "./dist/bin/Main.js -o dist -s html -g css,js,ts --utility-classes",
|
2023-01-04 15:51:06 +01:00
|
|
|
"test": "FORCE_COLOR=1 jest --runInBand --verbose src"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2022-12-12 17:52:00 +01:00
|
|
|
"chalk": "4.1.2",
|
2022-12-01 12:03:37 +01:00
|
|
|
"commander": "9.4.1",
|
|
|
|
|
"deepmerge": "4.2.2",
|
2022-12-30 12:12:04 +01:00
|
|
|
"figlet": "1.5.2",
|
2023-01-04 15:51:06 +01:00
|
|
|
"ts-node": "10.9.1"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@types/figlet": "1.5.5",
|
2022-12-12 10:39:15 +00:00
|
|
|
"@types/jest": "29.2.4",
|
2022-12-27 07:51:51 +00:00
|
|
|
"@types/node": "18.11.18",
|
2022-12-01 12:03:37 +01:00
|
|
|
"eslint-config-custom": "*",
|
|
|
|
|
"jest": "29.3.1",
|
|
|
|
|
"nodemon": "2.0.20",
|
2022-12-12 10:39:15 +00:00
|
|
|
"prettier": "2.8.1",
|
2022-12-01 12:03:37 +01:00
|
|
|
"ts-jest": "29.0.3",
|
2023-01-04 15:51:06 +01:00
|
|
|
"tsc-alias": "1.8.2",
|
2022-12-12 10:39:15 +00:00
|
|
|
"typescript": "4.9.4"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=16.0.0"
|
|
|
|
|
}
|
|
|
|
|
}
|