UNPKG

ember-css-url

Version:

A helper for safely embedding URLs in style properties

73 lines (72 loc) 2.08 kB
{ "name": "ember-css-url", "version": "1.0.0", "description": "A helper for safely embedding URLs in style properties", "keywords": [ "ember-addon", "css", "style", "xss", "url", "background-image" ], "repository": "https://github.com/ef4/ember-css-url", "license": "MIT", "author": "Edward Faulkner <edward@eaf4.com>", "files": [ "addon-main.js", "dist" ], "scripts": { "build": "rollup --config", "lint": "concurrently 'npm:lint:*(!fix)' --names 'lint:'", "lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'", "lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern", "lint:js": "eslint . --cache", "lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern", "lint:js:fix": "eslint . --fix", "start": "rollup --config --watch", "test": "echo 'A v2 addon does not have tests, run tests in test-app'", "prepublishOnly": "rollup --config" }, "dependencies": { "@embroider/addon-shim": "^1.0.0" }, "devDependencies": { "@babel/core": "^7.17.0", "@babel/eslint-parser": "^7.18.2", "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-proposal-decorators": "^7.17.0", "@babel/plugin-syntax-decorators": "^7.17.0", "@embroider/addon-dev": "^1.0.0", "@rollup/plugin-babel": "^5.3.0", "concurrently": "^7.2.1", "ember-template-lint": "^4.0.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-ember": "^10.5.8", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.0.0", "rollup": "^2.67.0", "rollup-plugin-copy": "^3.4.0" }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "ember": { "edition": "octane" }, "ember-addon": { "version": 2, "type": "addon", "main": "addon-main.js", "app-js": { "./helpers/css-url.js": "./dist/_app_/helpers/css-url.js" } }, "exports": { ".": "./dist/index.js", "./*": "./dist/*", "./addon-main.js": "./addon-main.js" } }