{ "version": "0.2.7", "name": "create-el", "repository": { "type": "git", "url": "https://github.com/react-atomic/react-atomic-organism", "directory": "packages/lib/create-el" }, "description": "Create CSS or JS", "keywords": [ "document.createElement" ], "author": "Hill ", "license": "MIT", "dependencies": { "call-func": "*", "reshow-constant": "*", "reshow-runtime": "*", "win-doc": "*" }, "devDependencies": { "@babel/cli": "^8.0.6", "@babel/core": "^8.0.9", "reshow-unit-dom": "*", "typescript": "^7.0.2" }, "exports": { "types": "./types/index.d.ts", "require": "./build/cjs/src/index.js", "import": "./build/es/src/index.mjs" }, "main": "./build/cjs/src/index.js", "module": "./build/es/src/index.mjs", "scripts": { "clean": "find ./build -name '*.*' | xargs rm -rf", "build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --ignore /**/__tests__ --root-mode upward", "build:es": "BABEL_ENV=es babel src -d build/es/src --out-file-extension .mjs --root-mode upward", "build:type": "tsc src/*.js --declaration --allowJs --emitDeclarationOnly --skipLibCheck --declarationDir types --resolvePackageJsonExports false --strict false", "build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:type", "mochaFor": "mocha -r global-jsdom/register", "mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'", "test": "npm run build && npm run mocha", "prepublishOnly": "npm run test" }, "types": "./types/index.d.ts", "files": [ "types", "build", "package.json", "README.md" ] }