apollo-link-state-fragment
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "apollo-link-state-fragment", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "A library to read fragments data in the apollo cache", | ||
@@ -20,4 +20,3 @@ "author": "Abhi Aiyer <abhiaiyer91@gmail.com>", | ||
"scripts": { | ||
"build:browser": | ||
"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link --i apollo-utilities --i graphql-anywhere && npm run minify:browser", | ||
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link --i apollo-utilities --i graphql-anywhere && npm run minify:browser", | ||
"build": "tsc -p .", | ||
@@ -28,8 +27,6 @@ "bundle": "rollup -c", | ||
"prelint": "npm run lint-fix", | ||
"lint-fix": | ||
"prettier --trailing-comma all --single-quote --write \"src/**/*.{j,t}s*\"", | ||
"lint-fix": "prettier --trailing-comma all --single-quote --write \"src/**/*.{j,t}s*\"", | ||
"lint": "tslint --type-check -p tsconfig.json -c tslint.json src/*.ts", | ||
"lint-staged": "lint-staged", | ||
"minify:browser": | ||
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js", | ||
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js", | ||
"postbuild": "npm run bundle", | ||
@@ -84,3 +81,8 @@ "prebuild": "npm run clean", | ||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", | ||
"moduleFileExtensions": ["ts", "tsx", "js", "json"] | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"json" | ||
] | ||
}, | ||
@@ -99,5 +101,8 @@ "dependencies": { | ||
], | ||
"*.json*": ["prettier --write", "git add"] | ||
"*.json*": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"pre-commit": "lint-staged" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10024
1